[Mono-bugs] [Bug 47985][Maj] New - Checkbox\ UserControl bug

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 28 Aug 2003 07:54:07 -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 yaronsh@mainsoft.com.

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

--- shadow/47985	2003-08-28 07:54:07.000000000 -0400
+++ shadow/47985.tmp.7824	2003-08-28 07:54:07.000000000 -0400
@@ -0,0 +1,69 @@
+Bug#: 47985
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: yaronsh@mainsoft.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Checkbox\ UserControl bug
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+
+Description of Problem:
+A checkbox inside a UserControl can't be unchecked by the user. 
+
+Steps to reproduce the problem:
+1. Open the attached .aspx file
+2. Uncheck the CheckBox.
+
+Actual Results:
+The checkbox remains checked.
+
+Expected Results:
+The checkbox should become unchecked
+
+How often does this happen? 
+Always
+
+Additional Information:
+The previous testcases for checkbox are fully working after the last patch.
+When the checkbox is inside user control it's another story.
+
+ascx (UserControl)
+==================
+<%@ Control Language="c#" AutoEventWireup="false" %>
+<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300"  
+       align="center" border="0">
+       <TR>
+	   <TD align="center">
+               <asp:checkbox id="CBTest" 
+                    Checked="True" Text="Test" AutoPostBack="True"  
+                    runat="server"></asp:checkbox>
+           </TD>
+       </TR>
+</TABLE>
+
+WebForm
+=======
+<%@ Register TagPrefix="uc1" TagName="CommonWebControlTests" 
+    Src="CommonWebControlTests.ascx" %>
+<%@ Page language="c#" AutoEventWireup="false" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+     <body MS_POSITIONING="GridLayout">
+	<form id="Form1" method="post" runat="server">
+	    <uc1:commonwebcontroltests id="CommonWebControlTests1" 
+                 runat="server"></uc1:commonwebcontroltests>
+	</form>
+     </body>
+</HTML>