2008-06-04 Juraj Skrispky <js@hotfeet.ch>
authorJuraj Skripsky <js@hotfeet.ch>
Wed, 4 Jun 2008 16:04:31 +0000 (16:04 -0000)
committerJuraj Skripsky <js@hotfeet.ch>
Wed, 4 Jun 2008 16:04:31 +0000 (16:04 -0000)
* PageParser.cs (ProcessMainAttributes): Take value of
enableEventValidation from web.config into account. Fixes bug #397099.

svn path=/trunk/mcs/; revision=104877

mcs/class/System.Web/System.Web.UI/ChangeLog
mcs/class/System.Web/System.Web.UI/PageParser.cs

index beda9e1dbfbaaaaa66607512ede74e3f653745c2..feedb0a17b4b2c30e0a63fa73d7b607e11f12956 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-04  Juraj Skrispky  <js@hotfeet.ch>
+
+       * PageParser.cs (ProcessMainAttributes): Take value of
+       enableEventValidation from web.config into account. Fixes bug #397099.
+
 2008-06-04  Marek Habersack  <mhabersack@novell.com>
 
        * PageHandlerFactory.cs: this class should be public. Fixes bug
index 7ba66ff822e05ba298ccf7eb5cfee8642610b41f..8b3c4edaea4c39bd5150110debb09f7766914748 100644 (file)
@@ -379,7 +379,7 @@ namespace System.Web.UI
 
                        theme = GetString (atts, "Theme", theme);
                        styleSheetTheme = GetString (atts, "StyleSheetTheme", styleSheetTheme);
-                       enable_event_validation = GetBool (atts, "EnableEventValidation", true);
+                       enable_event_validation = GetBool (atts, "EnableEventValidation", enable_event_validation);
                        maintainScrollPositionOnPostBack = GetBool (atts, "MaintainScrollPositionOnPostBack", maintainScrollPositionOnPostBack);
 #endif
                        // Ignored by now