Changing position of Wizardstep

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

How can I move a wizardstep dynamacally form one position to another.
eg: change the position of step 1 to be step 4.

thanks.
 
Hello Mike,

Could your describe what are you going to do in details?

PS: see some info about wizard control there http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/standard/wizard.aspx

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


M> Hi,
M>
M> How can I move a wizardstep dynamacally form one position to another.
M> eg: change the position of step 1 to be step 4.
M>
M> thanks.
M>
 
what I'm trying to do is realy simple.
I have 11 steps in my wizard and some cases I would like the step 9 to be
the last step.

I tried the WizardSteps.AddAt(11, my Step) and it moves the step wherever I
want but if I click on any step in my wizard its giving me this log
error:"Failed to load viewstate. The control tree into which viewstate is
being loaded must match the control tree that was used to save viewstate
during the previous request. For example, when adding controls dynamically,
the controls added during a post-back must match the type and position of the
controls added during the initial request."
 
Back
Top