A Wizard control can save you a lot of time on plumbing if you use it well, but learning how to use it well can cost you more than the plumbing time that you save. If you plan to reuse it, then the initial investment in studying its idiosyncrasies may be worth it.
, , , , ( , ). , , , Next Previous, .
, , . ViewState. , :
, , ( , ) , . arrWizardSteps(), ,
For i = intCREDENTIALS To intADDITIONAL_INFORMATION
Wizard1.WizardSteps(i).ID = IIf(Wizard1.ActiveStepIndex < i, "", arrWizardSteps(i))
Next
, SideBarButtonClick, PreviousButtonClick NextButtonClick, , , , , , . , , , .
, , , ActiveStepIndex. / ActiveStepIndex ( , ), ( e.Cancel = true, e - WizardNavigationEventArgs ).
, PreRender, , , .