L
Leszek
Hello,
I am wondering how to create a reusable control (probably a custom control)
to generate a set of radio button groups dynamically from a single XML file.
An example:
XML file:
<poll>
<question text="QUESTION1">
<a>xxx</a>
<b>yyy</b>
<c>zzz</c>
</question>
<question text="QUESTION2">
<a>sss</a>
<b>www</b>
<c>eee</c>
</question>
</poll>
I would like to generate the following radio button groups:
QUESTION1
(*) xxx
(*) yyy
(*) zzz
QUESTION2
(*) sss
(*) www
(*) eee
It would also be great to treat these option groups as one entity, so when a
user selects 'yyy' and then 'sss', 'yyy' would be unselected.
Is there any code or samples showing how to accomplish this task?
Thanks,
Leszek Taratuta
I am wondering how to create a reusable control (probably a custom control)
to generate a set of radio button groups dynamically from a single XML file.
An example:
XML file:
<poll>
<question text="QUESTION1">
<a>xxx</a>
<b>yyy</b>
<c>zzz</c>
</question>
<question text="QUESTION2">
<a>sss</a>
<b>www</b>
<c>eee</c>
</question>
</poll>
I would like to generate the following radio button groups:
QUESTION1
(*) xxx
(*) yyy
(*) zzz
QUESTION2
(*) sss
(*) www
(*) eee
It would also be great to treat these option groups as one entity, so when a
user selects 'yyy' and then 'sss', 'yyy' would be unselected.
Is there any code or samples showing how to accomplish this task?
Thanks,
Leszek Taratuta