Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Repeater, RadioButton, GroupName doesn't work

Reply
Thread Tools

Repeater, RadioButton, GroupName doesn't work

 
 
David Thielen
Guest
Posts: n/a
 
      03-09-2007
Hi;

Inside a Repeater I have a RadioButton with the same GroupName for each row
in the Repeater. But when I click on a button, it does not turn off the other
radio button previously selected.

Any ideas how to fix this?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm


 
Reply With Quote
 
 
 
 
Manish Bafna
Guest
Posts: n/a
 
      03-11-2007
Hi,
This link provides solution to your problem/query.
http://www.codeguru.com/csharp/cshar...le.php/c12371/
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.



"David Thielen" wrote:

> Hi;
>
> Inside a Repeater I have a RadioButton with the same GroupName for each row
> in the Repeater. But when I click on a button, it does not turn off the other
> radio button previously selected.
>
> Any ideas how to fix this?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
>
>

 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      03-12-2007
Hello Dave,

This is a known issue of ASP.NET template databound control(such as
repeater, DataList ...). When you put RadioButton in such control's
template, since its "groupName" is assigned a unique value each row,. Here
is the public kb article document this issue:

#BUG: Radio Buttons Are Not Mutually Exclusive When Used in a Repeater
Server Control
http://support.microsoft.com/kb/316495/en-us

I have ever posted some workaround code in the newsgroup. Here is the
weblink to it:

http://groups.google.com/group/micro...rk.aspnet/brow
se_thread/thread/22a219fd383e8db0/0ca1cd975a6adf79

Hope this helps some.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.








 
Reply With Quote
 
David Thielen
Guest
Posts: n/a
 
      03-12-2007
got it - thanks

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




"Steven Cheng[MSFT]" wrote:

> Hello Dave,
>
> This is a known issue of ASP.NET template databound control(such as
> repeater, DataList ...). When you put RadioButton in such control's
> template, since its "groupName" is assigned a unique value each row,. Here
> is the public kb article document this issue:
>
> #BUG: Radio Buttons Are Not Mutually Exclusive When Used in a Repeater
> Server Control
> http://support.microsoft.com/kb/316495/en-us
>
> I have ever posted some workaround code in the newsgroup. Here is the
> weblink to it:
>
> http://groups.google.com/group/micro...rk.aspnet/brow
> se_thread/thread/22a219fd383e8db0/0ca1cd975a6adf79
>
> Hope this helps some.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
>
> ==================================================
>
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.aspx#notif
> ications.
>
>
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscripti...t/default.aspx.
>
> ==================================================
>
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
>
>
>
>
>

 
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
Checking individual Radio Buttons with the same GroupName doesn't work Shadow Lynx ASP .Net 0 07-31-2006 05:25 AM
Cisco groupname/password helloshahid@gmail.com Cisco 2 10-03-2005 01:27 PM
RadioButton GroupName does not work ! Mick ASP .Net 2 01-05-2005 10:15 AM
Radio Button and groupName bug in ASP.NET Rishi Chandra ASP .Net 0 12-22-2003 08:26 AM
GroupName in RadioButton Server Control Sundar ASP .Net 0 12-09-2003 10:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57