System.Web.UI.WebControls.Wizard.MoveTo Method

Sets the specified System.Web.UI.WebControls.WizardStepBase-derived object as the value for the Wizard.ActiveStep property of the System.Web.UI.WebControls.Wizard control.

Syntax

public void MoveTo (WizardStepBase wizardStep)

Parameters

wizardStep
The System.Web.UI.WebControls.WizardStepBase-derived object to set as the Wizard.ActiveStep.

Remarks

Use the Wizard.MoveTo(WizardStepBase) method to control which System.Web.UI.WebControls.WizardStepBase-derived object is set as the value for the Wizard.ActiveStep property in the System.Web.UI.WebControls.Wizard control programmatically. This way, you can change the Wizard.ActiveStep property dynamically based on other conditions during run time.

Requirements

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