* ListBox.cs: if the list is not enabled, don't require a postback. Fixes bug #79445. svn path=/trunk/mcs/; revision=65734
@@ -1,3 +1,8 @@
+2006-09-20 Gonzalo Paniagua Javier <[email protected]>
+
+ * ListBox.cs: if the list is not enabled, don't require a postback.
+ Fixes bug #79445.
2006-09-20 Gonzalo Paniagua Javier <[email protected]>
* HyperLink.cs: don't output the nabvigate url if disabled.
@@ -206,7 +206,7 @@ namespace System.Web.UI.WebControls {
override void OnPreRender (EventArgs e)
{
base.OnPreRender (e);
- if (Page != null)
+ if (Page != null && Enabled)
Page.RegisterRequiresPostBack (this);
}