* Page.cs: make sure view state is loaded for PreviousPage during cross-page postback. svn path=/trunk/mcs/; revision=114033
@@ -1,3 +1,8 @@
+2008-09-25 Marek Habersack <[email protected]>
+
+ * Page.cs: make sure view state is loaded for PreviousPage during
+ cross-page postback.
2008-09-13 Atsushi Enomoto <[email protected]>
* CssClassPropertyAttribute.cs : new in 3.5 SP1.
@@ -1914,7 +1914,11 @@ public partial class Page : TemplateControl, IHttpHandler
{
Pair sState = LoadPageStateFromPersistenceMedium () as Pair;
if (sState != null) {
- if (allow_load) {
+ if (allow_load
+#if NET_2_0
+ || isCrossPagePostBack
+#endif
+ ) {
#if NET_2_0
LoadPageControlState (sState.Second);
#endif