Export (0) Print
Expand All

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; }
<asp:WizardStepBase StepType="WizardStepType" />

Property Value

Type: System.Web.UI.WebControls.WizardStepType
One of the WizardStepType enumeration values. The default value is WizardStepType.Auto.


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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

© 2015 Microsoft