Advertisement

07.23.2008 at 09:27AM PDT, ID: 23589123
[x]
Attachment Details

Methodology for Questionnaire with Dynamic Questions

Asked by EricFleet in .NET, Programming for ASP.NET

Tags: ASP.NET / C#

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
[+][-]07.23.2008 at 04:00PM PDT, ID: 22074728

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, Programming for ASP.NET
Tags: ASP.NET / C#
Sign Up Now!
Solution Provided By: magicclaw
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.23.2008 at 04:49PM PDT, ID: 22074983

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 05:26PM PDT, ID: 22075178

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628