[Mono-bugs] [Bug 77740][Nor] Changed - A listbox control should not
render childrens (in RenderContents)
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Mar 9 05:53:29 EST 2006
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 informatique.internet at fiducial.fr.
http://bugzilla.ximian.com/show_bug.cgi?id=77740
--- shadow/77740 2006-03-09 05:50:23.000000000 -0500
+++ shadow/77740.tmp.29073 2006-03-09 05:53:29.000000000 -0500
@@ -2,13 +2,13 @@
Product: Mono: Class Libraries
Version: 1.1
OS: All
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Sys.Web
AssignedTo: gonzalo at ximian.com
ReportedBy: informatique.internet at fiducial.fr
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -115,6 +115,29 @@
How often does this happen?
Always
Additional Information:
A Listbox ("<select>" in html) shouldn't contain other things than "<option/>"
+
+------- Additional Comments From informatique.internet at fiducial.fr 2006-03-09 05:53 -------
+There's a solution : Comment the Base.RenderContents:
+
+Here's the patch :
+
+Index: System.Web.UI.WebControls/ListBox.cs
+===================================================================
+--- System.Web.UI.WebControls/ListBox.cs (révision 57713)
++++ System.Web.UI.WebControls/ListBox.cs (copie de travail)
+@@ -163,7 +163,7 @@
+ #endif
+ override void RenderContents (HtmlTextWriter writer)
+ {
+- base.RenderContents (writer);
++ //base.RenderContents (writer);
+
+ foreach (ListItem item in Items) {
+ writer.WriteBeginTag ("option");
+
+
+Someone could check this issue and commit it?
+Thanks in advance!
More information about the mono-bugs
mailing list