[Mono-bugs] [Bug 78356][Nor] New - ASP.NET HtmlInputRadioButton not working

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 10 14:19:10 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by michaelveloz at hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78356

--- shadow/78356	2006-05-10 14:19:10.000000000 -0400
+++ shadow/78356.tmp.32180	2006-05-10 14:19:10.000000000 -0400
@@ -0,0 +1,64 @@
+Bug#: 78356
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: michaelveloz at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ASP.NET HtmlInputRadioButton not working
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+The HhtmlInputRadioButton class does not appear to be working; the state of
+the checked radio item in a group of items is not being remembered.
+
+Steps to reproduce the problem:
+1. 
+
+Create a series of radio buttons, with the runat="server" attribute so they
+generate HtmlInputRadioButtons on the server side:
+
+....in the .aspx file ...
+
+<input type="radio" id="r1" name ="radio1" runat="server"
+value="fo1"/>option 1<br>
+   <input type="radio" id="r2" name ="radio1" runat="server"
+value="fo2"/>option 2<br>
+   <input type="radio" id="r3" name ="radio1" runat="server"
+value="fo3"/>option 3<br>
+
+
+2. Run the page, check the middle radio button. Post the page
+3. 
+
+Actual Results:
+
+Upon posting back, the radio buttons are painted but the middle button is
+not checked.
+
+
+Expected Results:
+
+I expected the object to repaint the middle radio button checked, since
+that's how it was posted to the server.
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+
+I would use the aspx:RadioButtonList (or whatever its name is) except you
+can't easily add client side events for it and you can't style the
+individual items.


More information about the mono-bugs mailing list