We have a legacy system developed in ASP.NET, using web forms, that we are in the process of re-designing and would like to re-write the application using ASP.NET MVC.
I am currently going through Steven Sanderson's "Pro ASP.NET MVC2 Framework" getting myself up to speed.
The application is a customer survey form that generates questions and answers from a sqlserver database, based on region, and type of device. The application uses .ascx controls, "asp:PlaceHolder" controls and javascript to hide and un-hide questions based on user input.
(rb2.Attributes.Add("onclick", "show_rb010followup('" + strWebCtrl + "',1);");)
The web site offers dynamic generated questions and follow-up questions based on end user answers. For example. If a user selects "Somewhat dissatisfied" or "Very dissatisfied" in response to a question, a follow up question is un-hidden to prompt the user for further information.
The .ascx controls of course have code behind pages that process the control logic.
My question to all of you, would be to get some ideas on the best way to implement these dynamic question and answers using the MVC design pattern.