System.Web.UI.WebControls.WizardStep Class

Represents a basic step that is displayed in a System.Web.UI.WebControls.Wizard control. This class cannot be inherited.

See Also: WizardStep Members


public sealed class WizardStep : WizardStepBase


A System.Web.UI.WebControls.Wizard control is made up of a collection of System.Web.UI.WebControls.WizardStep objects that represent single steps of a wizard. The System.Web.UI.WebControls.Wizard control displays a single System.Web.UI.WebControls.WizardStep object at a time. You can use a System.Web.UI.WebControls.Wizard control and its associated System.Web.UI.WebControls.WizardStep objects to collect related data in a linear or nonlinear fashion.


If you embed the System.Web.UI.WebControls.Login control in a System.Web.UI.WebControls.WizardStep, explicitly set the Wizard.ActiveStepIndex in a Page_Load event handler if the user is authenticated. The System.Web.UI.WebControls.Wizard control does not automatically advance to the next System.Web.UI.WebControls.WizardStep in this scenario.

You cannot apply a theme to System.Web.UI.WebControls.WizardStep but you can apply a theme to System.Web.UI.WebControls.TemplatedWizardStep.


If you programmatically add a System.Web.UI.WebControls.WizardStep in the Page_Load event handler, you must add the navigation to that step prior to the page loading.


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