[Mono-bugs] [Bug 76935][Nor] New - radiobutton postback and grouping doesn't work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Dec 7 08:59:32 EST 2005


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 simas at jip.lt.

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

--- shadow/76935	2005-12-07 08:59:32.000000000 -0500
+++ shadow/76935.tmp.20485	2005-12-07 08:59:32.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 76935
+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: simas at jip.lt               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: radiobutton postback and grouping doesn't work
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When using multiply Radiobuttons I set GroupName property to some value egz
+"group" when page is rendered i can select all of group Radiobuttons. When
+posting back control doesn't keep its value.
+
+Steps to reproduce the problem:
+1. 
+Put two RadioButtons on a form 
+2. 
+set GroupName property the same value for each RatioButton.
+3. 
+Put button for postback
+
+Actual Results:
+
+ViewState doesn't work.
+
+mono produces such ouput:
+ <input id="RadioButton1" type="radio" name="RadioButton1" /><label
+for="RadioButton1">Radio1</label>
+        <input id="RadioButton2" type="radio" name="RadioButton2" /><label
+for="RadioButton2">Radio2</label>
+  
+Expected Results:
+
+microsoft runtime produces:
+
+<input id="RadioButton1" type="radio" name="group1" value="RadioButton1"
+/><label for="RadioButton1">Radio1</label>
+        <input id="RadioButton2" type="radio" name="group1"
+value="RadioButton2" /><label for="RadioButton2">Radio2</label>
+        
+
+How often does this happen? 
+allways
+
+Additional Information:
+notice that microsoft runtame sets the same name to each RatioButton, when
+they have the same GroupName property value.


More information about the mono-bugs mailing list