The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientTreeList.ToolbarItemClick Event

Fires after a toolbar item has been clicked.

Declaration

ToolbarItemClick: ASPxClientEvent<ASPxClientTreeListToolbarItemClickEventHandler<ASPxClientTreeList>>

Event Data

The ToolbarItemClick event handler receives an argument of the ASPxClientTreeListToolbarItemClickEventArgs type. The following properties provide information specific to this event.

Property Description
item Gets the clicked menu item
processOnServer Gets or sets a value that specifies whether the event should be finally processed on the server side.
toolbarIndex Gets the toolbar index related to the event.
toolbarName Gets the toolbar name.
usePostBack Specifies whether a postback or a callback is used to finally process the event on the server side.

Remarks

Write a ToolbarItemClick event handler to perform specific actions when a toolbar item has been clicked. Note that this event fires immediately after the left mouse button is released. If the button is released when the mouse pointer is not over a toolbar item, the event doesn't fire.

You can use the event parameter's properties to identify the clicked toolbar item and specify whether a postback should be generated to pass the event processing to the server side and generate the server-side ASPxTreeList.ToolbarItemClick event.

See Also