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

ASPxTabControlBase.ActiveTabChanging Event

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public event TabControlCancelEventHandler ActiveTabChanging
Public Event ActiveTabChanging As TabControlCancelEventHandler

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.

Remarks

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