Author: igorz
Date: 2007-02-19 05:46:46 -0500 (Mon, 19 Feb 2007)
New Revision: 73103

Modified:
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/CheckBox.cs
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/ListControl.cs
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs
Log:
2006-02-19 Igor Zelmanovich <[EMAIL PROTECTED]>

        * CheckBox.cs:
        * ListControl.cs:
        * TextBox.cs:
        implemented Form.SubmitDisabledControls feature.                        


Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog      
2007-02-19 10:19:11 UTC (rev 73102)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog      
2007-02-19 10:46:46 UTC (rev 73103)
@@ -1,3 +1,10 @@
+2006-02-19 Igor Zelmanovich <[EMAIL PROTECTED]>
+
+       * CheckBox.cs:
+       * ListControl.cs:
+       * TextBox.cs:
+       implemented Form.SubmitDisabledControls feature.                        
+
 2006-02-18 Igor Zelmanovich <[EMAIL PROTECTED]>
 
        * GridView.cs: IsBindableType for decimal returns true.

Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/CheckBox.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/CheckBox.cs    
2007-02-19 10:19:11 UTC (rev 73102)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/CheckBox.cs    
2007-02-19 10:46:46 UTC (rev 73103)
@@ -301,6 +301,10 @@
                        if (Page != null && Enabled) {
                                Page.RegisterRequiresPostBack (this);
                        }
+#if NET_2_0
+                       if (Page != null && Enabled)
+                               Page.RegisterEnabledControl (this);
+#endif
                }
 
                static bool IsInputOrCommonAttr (string attname)

Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ListControl.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ListControl.cs 
2007-02-19 10:19:11 UTC (rev 73102)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ListControl.cs 
2007-02-19 10:46:46 UTC (rev 73103)
@@ -382,6 +382,10 @@
                override void OnPreRender (EventArgs e)
                {
                        base.OnPreRender (e);
+#if NET_2_0
+                       if (Page != null && Enabled)
+                               Page.RegisterEnabledControl (this);
+#endif
                }
 
 #if NET_2_0

Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs     
2007-02-19 10:19:11 UTC (rev 73102)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs     
2007-02-19 10:46:46 UTC (rev 73103)
@@ -186,6 +186,9 @@
                        if (AutoPostBack) {
                                RegisterKeyHandlerClientScript ();
                        }
+                       
+                       if (Page != null && Enabled)
+                               Page.RegisterEnabledControl (this);
 #endif
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to