asp.net.ph

Wizard.ActiveStep Property

System.Web.UI.WebControls Namespace   Wizard Class


.NET Framework version 2.0

Returns the step that is currently displayed to the user in a Wizard control.

Syntax


Script [ WizardStepBase var = ] Wizard.ActiveStep

Property Value


var The WizardStepBase that is currently displayed to the user.

The property is read only with no default value.

Exceptions


Exception Type Condition
InvalidOperationException The given ActiveStepIndex is less than -1 or greater than the number of WizardStepBase objects in the Wizard.

Remarks

Use the ActiveStep property to determine the WizardStepBase object that is currently displayed in the Wizard control.

The ActiveStep property is read-only; you can, however, use the ActiveStep property to access the properties of the current WizardStepBase object.

To dynamically change the ActiveStep to a different WizardStepBase object, use the ActiveStepIndex property.

Alternatively, you can use the MoveTo method to dynamically set the ActiveStep property.

See Also

Wizard Members   ActiveStepIndex   WizardStepBase Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph