Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Mutually Exclusive RadioButton in DataList

Reply
Thread Tools

Mutually Exclusive RadioButton in DataList

 
 
Parker
Guest
Posts: n/a
 
      07-07-2004
I can add a RadioButton to a DataList and the button behaves in a mutually exclusive way, e.g. if row three is checked and then row five is checked, row three is then not checked. This works fine for an HTML RadioButton but...

When I add runat="server" to the RadioButton control, the RadioButtons does not behave in a mutually exclusive state, e.g. row three is checked and then row five is checked, row three and the row five RadioButton are checked, not mutually exclusive. GroupName is defined.

How do I define a RadioButton Server control to work mutually exclusive in a bound DataList? Mutually exclusive for all records listed.

GroupName is defined and AutoPostBack must be set to False.

Thank you in advance.

 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      07-07-2004
It is a known problem. See http://support.microsoft.com/default...;en-us;Q316495.

You can find workaround at http://groups.google.com/groups?hl=e...ing.google.com

Eliyahu
"Parker" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
I can add a RadioButton to a DataList and the button behaves in a mutually exclusive way, e.g. if row three is checked and then row five is checked, row three is then not checked. This works fine for an HTML RadioButton but...

When I add runat="server" to the RadioButton control, the RadioButtons does not behave in a mutually exclusive state, e.g. row three is checked and then row five is checked, row three and the row five RadioButton are checked, not mutually exclusive. GroupName is defined.

How do I define a RadioButton Server control to work mutually exclusive in a bound DataList? Mutually exclusive for all records listed.

GroupName is defined and AutoPostBack must be set to False.

Thank you in advance.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Has 2.0 Fixed this 1.1 bug? Radio Buttons Are Not Mutually Exclusive When Used in a Repeater Server Control sloan@ipass.net ASP .Net 0 01-06-2006 09:23 PM
'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive (part 2) Stimp ASP .Net 5 11-08-2005 04:16 PM
'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive Stimp ASP .Net 2 10-24-2005 01:53 PM
mutually exclusive radio button js ASP .Net 2 05-19-2005 04:27 PM
Mutually exclusive ALuPin VHDL 2 09-07-2004 04:41 PM



Advertisments