Wizard issue with initial step.

  • Thread starter Thread starter WebBuilder451
  • Start date Start date
W

WebBuilder451

How can you force wizard step to zero on load? If i happen to be working on
step 3 the page will load with that initial step. That is totally annoying!
Is there a way to force this to zero with out having to select it in the
designer and then saving????

Thanks
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)

kes
 
Prerender event will work
i don't know the exact for vb but in cs do this:
protected void mywizard(object sender, EventArgs e)
{
if (!IsPostBack)
((Wizard)sender).ActiveStepIndex = 0;
}
 
is there a way around the if not is postback?
but thank you
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)

kes
 
Back
Top