toolbar_event_handler

Client side event handler for ClientSideOnItemClick and ClientSideBeforeSubMenuExpand event.

Note: This is a prototype, not a function. You should provide a function that matches this prototype if you wish to handle the corresponding event on the client side. The prototype provides information about the arguments and return value of the function you provide.

Syntax
JavaScript
 toolbar_event_handler(toolBar, toolBarItem, subMenu)

Parameters

toolBar
The client side ToolBar object.
toolBarItem
The client side ToolBarItem object.
subMenu
The client side NavigationItemGroup object to be expanded if the event is ClientSideBeforeSubMenuExpand. This argument is null if the event is ClientSideOnItemClick.
See Also