Wizard issue with initial step.

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
 
Y

Yankee Imperialist Dog

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;
}
 
W

WebBuilder451

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top