Update of /cvsroot/magicajax/magicajax/Core/Interfaces
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30932/Core/Interfaces
Modified Files:
IFormDataLoadedEventHandler.cs IScriptWriter.cs
Added Files:
IAjaxCallEventHandler.cs
Log Message:
Replaced all "CallBack" references by "AjaxCall"
--- NEW FILE: IAjaxCallEventHandler.cs ---
#region LGPL License
/*
MagicAjax Library
Copyright (C) 2005 MagicAjax Project Team
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#endregion
using System;
namespace MagicAjax
{
/// <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>
/// public class CustomTextBox : System.Web.UI.WebControls.TextBox, IAjaxCallEventHandler
/// {
/// public void RaiseAjaxCallEvent()
/// {
/// OnAjaxCall(EventArgs.Empty);
/// }
/// }
/// </example>
public interface IAjaxCallEventHandler
{
void RaiseAjaxCallEvent();
}
}
Index: IFormDataLoadedEventHandler.cs
===================================================================
RCS file: /cvsroot/magicajax/magicajax/Core/Interfaces/IFormDataLoadedEventHandler.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IFormDataLoadedEventHandler.cs 11 Nov 2005 06:17:49 -0000 1.1
--- IFormDataLoadedEventHandler.cs 14 Nov 2005 18:50:43 -0000 1.2
***************
*** 30,34 ****
/// <remarks>
/// The PostDataLoadedEvent is raised by MagicAjaxModule after it loads the post data
! /// to the controls of the page, and before it raises the CallBack event. The event
/// handler should not alter any IPostBackDataHandler controls because it may
/// interfere with the functionality of other IFormDataLoadedEventHandler handlers.
--- 30,34 ----
/// <remarks>
/// The PostDataLoadedEvent is raised by MagicAjaxModule after it loads the post data
! /// to the controls of the page, and before it raises the AjaxCall event. The event
/// handler should not alter any IPostBackDataHandler controls because it may
/// interfere with the functionality of other IFormDataLoadedEventHandler handlers.
Index: IScriptWriter.cs
===================================================================
RCS file: /cvsroot/magicajax/magicajax/Core/Interfaces/IScriptWriter.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IScriptWriter.cs 11 Nov 2005 06:17:49 -0000 1.1
--- IScriptWriter.cs 14 Nov 2005 18:50:43 -0000 1.2
***************
*** 30,34 ****
/// <remarks>
/// WriteScript is called by MagicAjaxModule. A control that implements this method
! /// must use CallBackHelper.Write and the rest Write methods to send javascript
/// code to the client.
public interface IScriptWriter
--- 30,34 ----
/// <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
|