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:
Code |
But nothing happens.
Any help at all would be great!
Thanks,
ADR
Code |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Bechir BejaouiRank #144 · 15.9K reputationPosted Sep 11, 2010, 3:38 AM EDT
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