Author: igorz
Date: 2008-02-12 04:03:31 -0500 (Tue, 12 Feb 2008)
New Revision: 95483

Modified:
   branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/Page.cs
Log:
merge r95480-95481

Modified: branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/Page.cs
===================================================================
--- branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/Page.cs  
2008-02-12 08:57:13 UTC (rev 95482)
+++ branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/Page.cs  
2008-02-12 09:03:31 UTC (rev 95483)
@@ -399,7 +399,7 @@
        public bool IsValid {
                get {
                        if (!is_validated)
-                               throw new HttpException (Locale.GetText ("Page 
hasn't been validated."));
+                               throw new HttpException (Locale.GetText 
("Page.IsValid cannot be called before validation has taken place. It should be 
queried in the event handler for a control that has CausesValidation=True and 
initiated the postback, or after a call to Page.Validate."));
 
 #if NET_2_0
                        foreach (IValidator val in Validators)

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

Reply via email to