[Mono-bugs] [Bug 47869][Maj] New - CheckBox bug (UnCheck problem)
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 25 Aug 2003 03:15:15 -0400 (EDT)
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 yaronshkop@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=47869
--- shadow/47869 2003-08-25 03:15:15.000000000 -0400
+++ shadow/47869.tmp.6118 2003-08-25 03:15:15.000000000 -0400
@@ -0,0 +1,70 @@
+Bug#: 47869
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: yaronshkop@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CheckBox bug (UnCheck problem)
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+
+Description of Problem:
+CheckBox checked status is not loaded properly.
+
+Steps to reproduce the problem:
+1. Open the attached aspx file.
+2. Check the upper checkbox.
+3. Uncheck the upper checkbox.
+
+Actual Results:
+The upper checkbox can not be unchecked after it was checked.
+
+Expected Results:
+At stage 3, the upper checkbox should toggle to unchecked status and the
+lower checkbox should toggle to checked status.
+
+How often does this happen?
+Always.
+
+Additional Information:
+The expected result was achieved with MS ASP.NET. (there is no bug in the
+testcase)
+
+<HTML>
+ <HEAD>
+ <script language=C# runat=server>
+ private void CB1_CheckChange(object sender, System.EventArgs e)
+ {
+ CB2.Checked = !CB1.Checked;
+ }
+
+ private void CB2_CheckChange(object sender, System.EventArgs e)
+ {
+ CB1.Checked = !CB2.Checked;
+ }
+ </script>
+ </HEAD>
+ <body MS_POSITIONING="GridLayout">
+ <form id="Form1" method="post" runat="server">
+ <asp:CheckBox id="CB1" style="Z-INDEX: 100; LEFT: 208px;
+ POSITION: absolute; TOP: 72px" runat="server"
+ Text="Test" OnCheckedChanged="CB1_CheckChange"
+ AutoPostBack="True"></asp:CheckBox>
+ <asp:CheckBox id="CB2" style="Z-INDEX: 101; LEFT: 208px; POSITION:
+ absolute; TOP: 96px" runat="server" AutoPostBack="True"
+ OnCheckedChanged="CB2_CheckChange" Text="Test"
+ Checked="True"></asp:CheckBox>
+ </form>
+ </body>
+</HTML>