Author: toshok
Date: 2006-01-10 14:40:53 -0500 (Tue, 10 Jan 2006)
New Revision: 55334

Modified:
   trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
   trunk/mcs/class/System.Web/System.Web.UI/Page.cs
Log:
2006-01-10  Chris Toshok  <[EMAIL PROTECTED]>

        * Page.cs (ValidateCollection): in NET_2_0 if event validation is
        off, return true.



Modified: trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/ChangeLog  2006-01-10 19:37:12 UTC 
(rev 55333)
+++ trunk/mcs/class/System.Web/System.Web.UI/ChangeLog  2006-01-10 19:40:53 UTC 
(rev 55334)
@@ -1,3 +1,8 @@
+2006-01-10  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * Page.cs (ValidateCollection): in NET_2_0 if event validation is
+       off, return true.
+
 2006-01-09  Chris Toshok  <[EMAIL PROTECTED]>
 
        * Page.cs: fix a lot of indentation, and add the

Modified: trunk/mcs/class/System.Web/System.Web.UI/Page.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/Page.cs    2006-01-10 19:37:12 UTC 
(rev 55333)
+++ trunk/mcs/class/System.Web/System.Web.UI/Page.cs    2006-01-10 19:40:53 UTC 
(rev 55334)
@@ -1289,6 +1289,11 @@
 
        bool ValidateCollection (ValidatorCollection validators)
        {
+#if NET_2_0
+               if (!_eventValidation)
+                       return true;
+#endif
+
                if (validators == null || validators.Count == 0)
                        return true;
 

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

Reply via email to