Fires when a tab is clicked.
public event TabControlCancelEventHandler TabClick
Public Event TabClick As TabControlCancelEventHandler
The TabClick event's data class is TabControlCancelEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets a value indicating whether the command which raised an event should be canceled.|
|Tab||Gets a tab object related to the event. Inherited from TabControlEventArgs.|
Write a TabClick event handler to perform specific actions on the server side each time a tab is clicked within a tabbed control (ASPxPageControl or ASPxTabControl). 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 tab, the event doesn't fire. You can use the event parameter's properties to identify the clicked tab and cancel the execution of the command, if necessary.