Skip to main content
Tab

ASPxTabControlBase.TabClick Event

Fires when a tab is clicked.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event TabControlCancelEventHandler TabClick

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