Author: gonzalo
Date: 2006-07-19 21:15:41 -0400 (Wed, 19 Jul 2006)
New Revision: 62783
Modified:
trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
trunk/mcs/class/System.Web/System.Web.UI/Page.cs
Log:
2006-07-20 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
by Peijen Lin that closes bug #78646.
Modified: trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2006-07-20 01:13:24 UTC
(rev 62782)
+++ trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2006-07-20 01:15:41 UTC
(rev 62783)
@@ -1,3 +1,8 @@
+2006-07-20 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
+ by Peijen Lin that closes bug #78646.
+
2006-06-14 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* TemplateControlParser.cs: fix compilation caching when more than one
Modified: trunk/mcs/class/System.Web/System.Web.UI/Page.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/Page.cs 2006-07-20 01:13:24 UTC
(rev 62782)
+++ trunk/mcs/class/System.Web/System.Web.UI/Page.cs 2006-07-20 01:15:41 UTC
(rev 62783)
@@ -667,8 +667,7 @@
coll = req.QueryString;
}
-
- if (coll == null || coll ["__VIEWSTATE"] == null)
+ if (coll != null && coll ["__VIEWSTATE"] == null && coll
["__EVENTTARGET"] == null)
return null;
return coll;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches