I have a general question.
I have a page that will contain a questionnaire with multiple questions. Each of these questions have different formats. Some can by multiple choice, some fill in the blank, some may contain a datagrid for filling in detail information. All of these questions will appear on the same page so the user simply has to scroll to fill each of them in. This questionnaire may be customized depending on who logs in.
When this questionnaire is complete, the data is then saved to an underlying database.
I want to design this page in such a way that I can quickly make modifications. I do not see the web page making the decision on how to lay out the question based on data in a database. My initial thought was to use a repeater control with a custom ascx for each question and using LoadTemplate to pull it into the page. The underlying database could tell the page which questions to show, but the repeater control would load the template from the ascx file.
Does this make sense? Are there other approaches that would make more sense?
Start Free Trial