I need to make a web part with a quiz (or exam). Tests and questions are stored in 2 separate lists, so I want on the first step to select an exam and based on that selection I want to add steps (there are different number of steps based on exam) by code. The problem is that after I add steps (tehere are added) and I click next at first step the steps dissapear (I think it's something with ViewState). I can't add steps (or the whole wizard) on Init or prerender because the numeber of steps differ from exam to exam. Any ideas ? Thank's

  • I've accepted all. From now on I wii accept all. Sorry – user3145 Nov 7 '11 at 13:27

I anticipate this issue is not related to SharePoint itself. We have asp:Wizard control in our own solution and it works like a charm.

So please ensure that your dynamic steps controls are recreated each postback.

For details, have a look at following articles:

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.