Tab
A newer version of this page is available. Switch to the current version.

ASPxTabControlBase.TabClick Event

Fires when a tab is clicked.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public event TabControlCancelEventHandler TabClick
Public Event TabClick As TabControlCancelEventHandler

Event Data

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

Property Description
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.

Remarks

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.

See Also