From: Argiris K. <be...@us...> - 2005-11-20 08:47:45
|
Update of /cvsroot/magicajax/magicajax/Core/Interfaces In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3039/Core/Interfaces Modified Files: IAjaxCallEventHandler.cs IFormDataLoadedEventHandler.cs IPreWriteScriptEventHandler.cs IScriptWriter.cs Log Message: Fixed the visibility issues and other bugs. Added AjaxCallEnd event for 'Session/Cache' page storing modes. Fixed some comments. Index: IAjaxCallEventHandler.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Interfaces/IAjaxCallEventHandler.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IAjaxCallEventHandler.cs 18 Nov 2005 18:53:07 -0000 1.2 --- IAjaxCallEventHandler.cs 20 Nov 2005 08:47:29 -0000 1.3 *************** *** 26,35 **** /// <summary> /// Interface for controls that do no inherit from AjaxControl and want to receive ! /// AjaxCall events. /// </summary> /// <remarks> ! /// The Load event of the page and its child controls is not raised during an AjaxCall. ! /// If you want to handle the AjaxCall event instead, implement the IAjaxCallEventHandler ! /// on the page or on a cuatom control. /// </remarks> /// <example> --- 26,35 ---- /// <summary> /// Interface for controls that do no inherit from AjaxControl and want to receive ! /// AjaxCall events. ('Session/Cache' page storing modes) /// </summary> /// <remarks> ! /// The Load event of the page and its child controls is not raised during an AjaxCall ! /// for 'Session/Cache' page storing modes. If you want to handle the AjaxCall event ! /// instead, implement the IAjaxCallEventHandler on the page or on a custom control. /// </remarks> /// <example> *************** *** 40,43 **** --- 40,47 ---- /// OnAjaxCall(EventArgs.Empty); /// } + /// public void RaiseAjaxCallEndEvent() + /// { + /// OnAjaxCallEnd(EventArgs.Empty); + /// } /// } /// </example> *************** *** 45,48 **** --- 49,53 ---- { void RaiseAjaxCallEvent(); + void RaiseAjaxCallEndEvent(); } } Index: IFormDataLoadedEventHandler.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Interfaces/IFormDataLoadedEventHandler.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** IFormDataLoadedEventHandler.cs 18 Nov 2005 18:53:07 -0000 1.3 --- IFormDataLoadedEventHandler.cs 20 Nov 2005 08:47:29 -0000 1.4 *************** *** 26,30 **** /// <summary> /// Interface for controls that want to receive the PostDataLoaded event that is ! /// raised by MagicAjaxModule. /// </summary> /// <remarks> --- 26,30 ---- /// <summary> /// Interface for controls that want to receive the PostDataLoaded event that is ! /// raised by MagicAjaxModule. ('Session/Cache' page storing modes) /// </summary> /// <remarks> Index: IPreWriteScriptEventHandler.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Interfaces/IPreWriteScriptEventHandler.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IPreWriteScriptEventHandler.cs 18 Nov 2005 18:53:07 -0000 1.2 --- IPreWriteScriptEventHandler.cs 20 Nov 2005 08:47:29 -0000 1.3 *************** *** 26,30 **** /// <summary> /// Interface for controls and pages that do no inherit from RenderedByScriptControl ! /// and want to receive PreWriteScript events. /// </summary> public interface IPreWriteScriptEventHandler --- 26,30 ---- /// <summary> /// Interface for controls and pages that do no inherit from RenderedByScriptControl ! /// and want to receive PreWriteScript events. ('Session/Cache' page storing modes) /// </summary> public interface IPreWriteScriptEventHandler Index: IScriptWriter.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Interfaces/IScriptWriter.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** IScriptWriter.cs 18 Nov 2005 18:53:07 -0000 1.3 --- IScriptWriter.cs 20 Nov 2005 08:47:29 -0000 1.4 *************** *** 29,35 **** /// </summary> /// <remarks> ! /// WriteScript is called by MagicAjaxModule. A control that implements this method ! /// must use AjaxCallHelper.Write and the rest Write methods to send javascript ! /// code to the client. public interface IScriptWriter { --- 29,34 ---- /// </summary> /// <remarks> ! /// A control that implements this method should use AjaxCallHelper.Write and the rest ! /// Write methods to send javascript code to the client. public interface IScriptWriter { |