[Mono-bugs] [Bug 67908][Nor] New - Commented controls are not initialized
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 10 Oct 2004 05:17:39 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=67908
--- shadow/67908 2004-10-10 05:17:39.000000000 -0400
+++ shadow/67908.tmp.7555 2004-10-10 05:17:39.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 67908
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Commented controls are not initialized
+
+In Mono, controls that are commented out in the ASP.NET page are not
+initialized.
+
+In the MS ASP.NET (both 1.1 and 2.0), these controls are initialized
+anyway (but not rendered ofcourse).
+
+The Mono behaviour definitely makes more sense to me, but for
+compatbility with MS.NET it would be better to match the MS behavior.
+
+Some open-source applications (like http://www.communityserver.org) rely
+on the MS behavior, and I can imagine that this would break other
+applications too.
+
+I've attached a small repro that will output a message to the HTTP trace
+system (and the console) indicating whether the 'DropDownList1' control
+is NULL or not.
+
+Just request the "CommentedControl.aspx" page.