|
Client Side Events
When users interact with a Toolbar, the control raises Client-Side events that you can use to execute Client-Side javascript routines. This technique eliminates postbacks and makes controls respond faster.
The various Client-Side events supported in Toolbar are:
-
ClientSideOnDockElementClick
-
ClientSideOnDrag
-
ClientSideOnDragEnd
-
ClientSideOnDragStart
-
ClientSideOnItemMouseOut
-
ClientSideOnItemMouseOver
-
ClientSideOnItemSelect
ClientSideOnDockElementClick:
This event specifies the client-side handler to call when the toolbar is docked.
ClientSideOnDrag:
This event specifies the client-side handler to call when the toobar is being dragged.
ClientSideOnDragEnd:
This event specifies the client-side handler to call at the end of the drag process.
ClientSideOnDragStart:
This event specifies the client-side handler to call before the toolbar is dragged.
ClientSideOnItemMouseOut:
This event specifies the client-side handler to call when the mouse pointer leaves a toolbar item.
ClientSideOnItemMouseOver:
This event specifies the client-side handler to call when the mouse pointer enters a toolbar item.
ClientSideOnItemSelect:
This event specifies the client-side handler to call when a toolbar item is selected. This event fires before the item's click action and the action can be canceled if the handler returns false.
|