I'm using an XML file to dynamically create a radiobuttonlist. However, some of those buttons need to be nested.
I thought I would be able to do something like this:
|
But nothing happens.
Any help at all would be great!
Thanks,
ADR
|
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bechir BejaouiPosted Sep 11, 2010, 7:38 AM
Try this
ControlCollection collection = myRadioButtonList.Controls;
collection.add(nestedRadioButtonList);
This link provides more details
http://msdn.microsoft.com/en-us/library/system.web.ui.controlcollection(v=VS.80).aspx