Fires after a menu item has been clicked.
The ItemClick event's data class is ASPxClientMenuItemClickEventArgs. The following properties provide information specific to this event:
|htmlElement||Gets the HTML object that contains the processed item.|
|htmlEvent||Gets a DHTML event object that relates to the processed event.|
|item||Gets the menu item object related to the event.|
|processOnServer||Gets or sets a value that specifies whether the event should be finally processed on the server side. Inherited from ASPxClientProcessingModeEventArgs.|
Write a ItemClick event handler to perform specific actions on the client side each time a menu item is clicked within a menu control. 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 an item, the event doesn't fire. You can use the event parameter's properties to identify the clicked item and specify whether a postback should be generated to pass the event processing to the server side and generate the server-side ASPxMenuBase.ItemClick event.