Hi, I have a splitbutton on the toolbar that calls the following function:
As you can see I cancel the action in order to execute a javascript function instead of doing a postback. But once this function executes the dropdown menu for the splitbutton is still open. I've looked at the SDK documentation but I can't seem to find a way to close this menu client-side. Can you help me?
Thanks.
function ToolbarButtonClicked(sender, args) |
{ |
ValidateFields(button.get_toolTip()) |
args.set_cancel(true); |
} |
As you can see I cancel the action in order to execute a javascript function instead of doing a postback. But once this function executes the dropdown menu for the splitbutton is still open. I've looked at the SDK documentation but I can't seem to find a way to close this menu client-side. Can you help me?
Thanks.