Solved

Using Repeater with Questions and Multiple Choice Answers

Posted on 2007-04-10
1
285 Views
Last Modified: 2012-06-21
I have a repeater that needs to hold:

        Question 1
                 RadioButtonList of answers:
                      A. blue
                      B.  yellow
                      C.  red

       Question 2
                  RadioButtonList of answers:
     
     on and on.

     If I have a Generic List of Question Objects that contain:
              1.  The question
              2.  A Generic List of Answers

     How do I bind that to the Repeater???

      Is there another way or control I should be using?

Thanks in advance,
Hammer
0
Comment
Question by:HAMMER33333
1 Comment
 
LVL 14

Accepted Solution

by:
steveberzins earned 500 total points
ID: 18886311
I'm going to assume you will have this data in a dataset, in a similar heirarical format to what you want to display, there is a fair how to here:
http://support.microsoft.com/kb/306154

gives a reasonable how to, on how to nest repeaters to do what you want.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question