I'm using the Wizard control in one of my web applications which has about 10 steps.
Now, then the page initializes, the 'ActiveStepChanged' event of the Wizard fires prior to the 'Page_Load' event of that page. I have two problems.
1) What if I wanted to execute some code prior to the ActiveStepChanged event of step 1?
2) The biggest problem I'm having is setting/storing values in ViewState in step 1. My code stores values in my custom ViewState variables without any errors but in reality they are not stored in the view state. The ViewState becomes available only after
the Page_Load event, which can be understood. As of now, I've written custom logic as a workaround. Does this have a solution?
Thanks,
ASP.NET
Please click on Mark as Answer button if this resolves your query.
Vishal
Member
705 Points
153 Posts
Wizard control and the Page_Load event
Sep 05, 2006 09:27 AM|LINK
Language: Asp.Net 2.0 - C#
Hello everyone,
I'm using the Wizard control in one of my web applications which has about 10 steps.
Now, then the page initializes, the 'ActiveStepChanged' event of the Wizard fires prior to the 'Page_Load' event of that page. I have two problems.
1) What if I wanted to execute some code prior to the ActiveStepChanged event of step 1?
2) The biggest problem I'm having is setting/storing values in ViewState in step 1. My code stores values in my custom ViewState variables without any errors but in reality they are not stored in the view state. The ViewState becomes available only after the Page_Load event, which can be understood. As of now, I've written custom logic as a workaround. Does this have a solution?
Thanks,
ASP.NET
My Blog