Update of /cvsroot/magicajax/magicajax/Core/UI/Controls
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7185/magicajax/Core/UI/Controls
Modified Files:
AjaxPanel.cs
Log Message:
Fix for reflecting validator array declaration only once.
Index: AjaxPanel.cs
===================================================================
RCS file: /cvsroot/magicajax/magicajax/Core/UI/Controls/AjaxPanel.cs,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** AjaxPanel.cs 6 Feb 2006 01:39:35 -0000 1.56
--- AjaxPanel.cs 6 Feb 2006 13:20:47 -0000 1.57
***************
*** 287,292 ****
}
! // Attach to page events (prerendercomplete and unload) so we can do
! // some extra processing before and after rendering of the AjaxPanels.
// This extra processing involves reflecting hidden fields, scripts and
// stylesheets that were added/changed on a callback.
--- 287,294 ----
}
! // Attach to prerendercomplete event so we can do
! // some extra processing before rendering of the AjaxPanels.
! // Also some processing is done after rendering of the AjaxPanels,
! // see Render method in RenderedByScriptControl.cs.
// This extra processing involves reflecting hidden fields, scripts and
// stylesheets that were added/changed on a callback.
***************
*** 299,304 ****
this.Page.PreRender += new EventHandler(AjaxCallHelper.Page_PreRender);
#endif
- if (MagicAjaxContext.Current.IsAjaxCall)
- this.Page.Unload += new EventHandler(AjaxCallHelper.Page_Unload);
}
}
--- 301,304 ----
|