[thelist] (ASP.NET): Grouping radio buttons in a repeater.
Tab Alleman
talleman at Lumpsum.com
Thu Feb 16 12:05:55 CST 2006
I have a repeater that creates one radio button for every item. I want these radio buttons grouped together so that only one of them can be selected.
In my repeater, I specify this:
rbPhonePrimary.GroupName = "rbgPhonePrimary"
but when it produces the page, the radio buttons get names like this:
name="rptPhone:_ctl0:rbgPhonePrimary"
name="rptPhone:_ctl1:rbgPhonePrimary"
name="rptPhone:_ctl2:rbgPhonePrimary"
etc...
Is there any way to get what I want here?
More information about the thelist
mailing list