troubleshooting Question

Methodology for Questionnaire with Dynamic Questions

Avatar of EricFleet
EricFleet asked on
.NET ProgrammingASP.NET
3 Comments1 Solution1197 ViewsLast Modified:
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?
ASKER CERTIFIED SOLUTION
magicclaw

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros