ASPxClientNavBar.ItemClick Event
Fires after an item has been clicked.
Declaration
ItemClick: ASPxClientEvent<ASPxClientNavBarItemEventHandler<ASPxClientNavBar>>
Event Data
The ItemClick event's data class is ASPxClientNavBarItemEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
htmlElement | Gets the HTML object that contains the processed navbar item. |
htmlEvent | Gets a DHTML event object that relates to the processed event. |
item | Gets the 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 an item is clicked within the navbar 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.
See Also