[Mono-bugs] [Bug 47462][Nor] New - bug in web_checkbox.aspx
bugzilla-daemon@indri.ximian.com
bugzilla-daemon@indri.ximian.com
Mon, 11 Aug 2003 03:10:11 -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 krieg.andreas@oce.de.
http://bugzilla.ximian.com/show_bug.cgi?id=47462
--- shadow/47462 2003-08-11 03:10:11.000000000 -0400
+++ shadow/47462.tmp.24704 2003-08-11 03:10:11.000000000 -0400
@@ -0,0 +1,87 @@
+Bug#: 47462
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: Krieg.Andreas@oce.de
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: bug in web_checkbox.aspx
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+- The web_checkbox.aspx does not call the Clicked event function.
+- State of a checkbox cannot not be switched back to false if it was
+selected once (Checked=true for the first time)
+
+Steps to reproduce the problem:
+
+use this modified web_checkbox.aspx:
+
+<%@ Page Language="C#" %>
+<script runat="server">
+
+ void Clicked (object o, EventArgs e)
+ {
+ Label3.Text = "Yes you clicked on one of the boxes!!";
+ }
+
+ void Page_Load(object sender, EventArgs e) {
+ Label1.Text = "My current state is: " + chk.Checked.ToString();
+ Label2.Text = "My current state is: " + chk2.Checked.ToString();
+ }
+
+</script>
+<html>
+<head>
+ <title>CheckBox</title>
+</head>
+<body>
+ <form runat="server">
+ <p>
+ <asp:Label id="Label3" runat="server">no clicked event until
+now</asp:Label>
+ </p>
+ <p>
+ <asp:CheckBox id="chk" runat="server"
+OnCheckedChanged="Clicked" AutoPostBack="True" Text="Click
+here!"></asp:CheckBox>
+
+ &nb
+sp; <asp:Label id="Label1" runat="server"></asp:Label>
+ <br />
+ <asp:CheckBox id="chk2" runat="server"
+OnCheckedChanged="Clicked" AutoPostBack="True" Text="Click also here!"
+align="right"></asp:CheckBox>
+ <asp:Label
+id="Label2" runat="server"></asp:Label>
+ </p>
+ </form>
+</body>
+</html>
+
+Actual Results:
+
+- The text of label3 does never change to "Yes you clicked on one of the
+boxes!!";
+
+- a checked CheckBox can never be changed back to unselected state
+
+Expected Results:
+
+- after clicking one checkbox the label3 text should change
+- CheckBox musst be 'toggleable' (checked and unchecked)
+
+How often does this happen?
+
+every time