This documentation is archived and is not being maintained.

WizardStepBase.StepType Property

Gets or sets the type of navigation user interface (UI) to display for a step in a Wizard control.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public virtual WizardStepType StepType { get; set; }
/** @property */
public WizardStepType get_StepType ()

/** @property */
public void set_StepType (WizardStepType value)

public function get StepType () : WizardStepType

public function set StepType (value : WizardStepType)

Not applicable.

Property Value

One of the WizardStepType enumeration values. The default value is WizardStepType.Auto.

Exception typeCondition


The selected value is not one of the WizardStepType enumeration values.

Use the StepType property to specify the type of navigation buttons to display for a step in a Wizard control. If you specify a value for this property, any steps marked as Complete displays in a disabled state in the sidebar.

If you do not specify a value for this property, the default is WizardStepType.Auto.

The following table lists the available settings for the StepType property and the resulting behavior of the step:


The navigation UI that is rendered for the step is determined by the order in which the step is declared.


The step is the last one to appear. No navigation buttons are rendered.


The step is the final data collection step. The Finish and Previous buttons are rendered for navigation.


The step is the first one to appear. A Previous button is not rendered.


The step is any step between the Start and the Finish step. Previous and Next buttons are rendered for navigation. This step type is useful for overriding the Auto step type.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0