[thelist] [ASP.NET] Repeater Controls and Radio Buttons

Norman Beresford n.beresford at anansi.co.uk
Thu Sep 11 04:51:13 CDT 2003


Hi Joshua

It's a wee bit annoying that one, you think oh I'll assign each radio
button the same group name and then the page renders them all with a
unique group name.  What you need to do is download a new control, which
supports universal radio button groups.  I've used the one by
Metabuilders

http://metabuilders.com/Tools/GlobalRadioButton.aspx

You can read more about the problem (and their alternative solution) at
4Guys

http://aspnet.4guysfromrolla.com/articles/122602-1.aspx

HTH

Norman



-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joshua Olson
Sent: 10 September 2003 20:48
To: thelist at lists.evolt.org
Subject: [thelist] [ASP.NET] Repeater Controls and Radio Buttons


Hi ASP.NET gurus,

I want to use a Repeater control to display a bunch of records.  Got
that part figured out.  Now I want each record to have next to it a
radio button so I can select exactly one record and then click "next".
I'm using <asp:RadioButton> to create the radio button, but when the
page is rendered each button has a different name and therefore the
browser doesn't group them together as it should and I can select as
many as I'd like.  I've already tried setting GroupName.  What else am I
missing.

TIA,

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168

-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 



More information about the thelist mailing list