BootstrapGridView.ToolbarItemClick Event

Fires after a toolbar item has been clicked.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.2.dll

Declaration

public event BootstrapGridViewToolbarItemClickEventHandler ToolbarItemClick
Public Event ToolbarItemClick As BootstrapGridViewToolbarItemClickEventHandler

Event Data

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

Property Description
Handled Specifies whether the toolbar item click is handled manually, so no default processing is required.
Item Gets the toolbar item related to the event.

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 BootstrapGridViewToolbarItemClickEventArgs.Item property to identify the clicked toolbar item.

On the client side, you can respond to a toolbar item click using the ASPxClientGridBase.ToolbarItemClick event.

See Also