System.Web.UI.WebControls.Wizard.OnActiveStepChanged Method

Raises the Wizard.ActiveStepChanged event.

Syntax

protected virtual void OnActiveStepChanged (object source, EventArgs e)

Parameters

source
The source of the event.
e
An EventArgs that contains the event data.

Remarks

The Wizard.OnActiveStepChanged(object, EventArgs) method raises the Wizard.ActiveStepChanged event when the Wizard.ActiveStep property of the System.Web.UI.WebControls.Wizard control is changed. Use the Wizard.ActiveStepChanged event to provide additional processing when the current step that is displayed in the System.Web.UI.WebControls.Wizard control changes.

Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

The Wizard.OnActiveStepChanged(object, EventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0