Skip to main content
A newer version of this page is available. .

ASPxClientMenuBase.ItemClick Event

Fires after a menu item has been clicked.

Declaration

ItemClick: ASPxClientEvent<ASPxClientMenuItemClickEventHandler<ASPxClientMenuBase>>

Event Data

The ItemClick event's data class is ASPxClientMenuItemClickEventArgs. The following properties provide information specific to this event:

Property Description
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 Specifies whether or not to process the event on the server. Inherited from ASPxClientProcessingModeEventArgs.

Remarks

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.

See Also