Fires on the server side before the active tab is changed within a tab control.
public event TabControlCancelEventHandler ActiveTabChanging
Public Event ActiveTabChanging As TabControlCancelEventHandler
The ActiveTabChanging 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 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.