Update of /cvsroot/magicajax/magicajax/Core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6207/Core
Modified Files:
MagicAjaxModule.cs
Log Message:
Session/Cache storing modes will throw exception if used for NET 2.0
Index: MagicAjaxModule.cs
===================================================================
RCS file: /cvsroot/magicajax/magicajax/Core/MagicAjaxModule.cs,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** MagicAjaxModule.cs 18 Nov 2005 10:29:03 -0000 1.12
--- MagicAjaxModule.cs 18 Nov 2005 16:01:30 -0000 1.13
***************
*** 480,489 ****
_context.Handler.ProcessRequest (_context);
}
! catch (System.Threading.ThreadAbortException exc)
{
// ThreadAbortException is for Server.Transfer, Response.Redirect
// and AjaxCallHelper.End
_exceptionThrown = false;
! throw exc;
}
--- 480,489 ----
_context.Handler.ProcessRequest (_context);
}
! catch (System.Threading.ThreadAbortException)
{
// ThreadAbortException is for Server.Transfer, Response.Redirect
// and AjaxCallHelper.End
_exceptionThrown = false;
! throw;
}
***************
*** 573,576 ****
--- 573,580 ----
Util.SetPrivateField (_currentPageInfo.Page, typeof(Page), "_inOnFormRender", true);
+ #if NET_2_0
+ Util.CallPrivateMethod (_currentPageInfo.Page, typeof(Page), "OnInit", EventArgs.Empty);
+ #endif
+
if ( _currentPageInfo.Page.Validators.Count == 0 )
{
|