Click here to Skip to main content
15,884,298 members
Articles / Web Development / HTML

Magic AJAX: Applying AJAX to your existing Web Pages

Rate me:
Please Sign up or sign in to vote.
4.82/5 (72 votes)
28 May 2007MIT12 min read 966.6K   2.7K   251  
How to apply AJAX technologies to your web pages without replacing ASP.NET controls and/or writing JavaScript code.
#region Copyright
/*
Copyright (C) 2005 Argiris Kirtzidis
This script is supplied "as is" without any form of warranty. I shall not be liable for
any loss or damage to person or property as a result of using this script. Use this script
at your own risk! You are licensed to use this script free of charge for commercial or
non-commercial use providing you do not remove the copyright notice or disclaimer.
*/
#endregion

using System;

namespace Ajax
{
	/// <summary>
	/// Interface for controls that do no inherit from AjaxControl and want to receive
	/// CallBack events.
	/// </summary>
	/// <remarks>
	/// The Load event of the page and its child controls is not raised during a CallBack.
	/// If you want to handle the CallBack event instead, implement the ICallBackEventHandler
	/// on the page or on a cuatom control.
	/// </remarks>
	/// <example>
	///	public class CustomTextBox : System.Web.UI.WebControls.TextBox, ICallBackEventHandler
	///	{
	///		public void RaiseCallBackEvent()
	///		{
	///			OnCallBack(EventArgs.Empty);
	///		}
	///	}
	/// </example>
	public interface ICallBackEventHandler
	{
		void RaiseCallBackEvent();
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Web Developer
Greece Greece
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions