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

ASPxClientMenuBase.ItemClick Event

Fires after a menu item has been clicked.

Declaration

ItemClick: ASPxClientEvent<ASPxClientMenuItemClickEventHandler<ASPxClientMenuBase>>

Event Data

The ItemClick event handler receives an argument of the ASPxClientMenuItemClickEventArgs type. 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 Gets or sets a value that specifies whether the event should be finally processed on the server side.

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