ASPxTabControlBase.ActiveTabChanging Event

Fires on the server side before the active tab is changed within a tab control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public event TabControlCancelEventHandler ActiveTabChanging

Event Data

The ActiveTabChanging 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.


Write a ActiveTabChanging event handler to perform specific actions on the server side each time before the selected tab changes. You can use the event parameter's properties to identify the newly selected tab and cancel the execution of the command, if necessary.

See Also