[Mono-bugs] [Bug 76608][Wis] Changed - ListBox autopostback="true" does not work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 2 19:22:33 EST 2005


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 nathan at mammoth.com.au.

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

--- shadow/76608	2005-11-02 19:05:24.000000000 -0500
+++ shadow/76608.tmp.24532	2005-11-02 19:22:33.000000000 -0500
@@ -69,6 +69,23 @@
 ListBox) is missing the onchange tag.
 
 ------- Additional Comments From nathan at mammoth.com.au  2005-11-02 19:05 -------
 Created an attachment (id=16020)
 Test case (in plain text)
 
+
+------- Additional Comments From nathan at mammoth.com.au  2005-11-02 19:22 -------
+DropDownList.cs has
+
+	protected override void AddAttributesToRender(HtmlTextWriter writer) {
+                ...
+
+		if (AutoPostBack) {
+			writer.AddAttribute (HtmlTextWriterAttribute.Onchange,
+Page.ClientScript.GetPostBackClientHyperlink (this, ""));
+		}
+
+	        ...
+	}
+
+
+ListBox.cs seems to have no equivalent in its AddAttributesToRender()


More information about the mono-bugs mailing list