Client Callbacks

Creating Search Ajax Web Control in ASP.NET 2.0 using Client Callbacks

Introduction
 

Hi today I’m going to show you the power of ASP.NET 2.0 Client Callbacks and how could it help us to implement real life Ajax web control.

 
Background
 

The main idea to show you how to implement control which will allow you to submit some data without postbacks. It will be CompositeControl consist of

  • HtmlInputButton
  • TextBox

Actually it will be TextBox with button. When you click the button or press the Enter the data from TextBox submit to server and then response from server returns to client where it processed by the client side code.

Using Client Callbacks in ASP.NET 2.0

Introduction
Let’s see today how to implement Ajax functionality using Microsoft’s technology of client callbacks (ajax wrapper). In the net framework 2.0 we can find very interesting interface ICallbackEventHandler.
I’ll try to describe how to use it.

Syndicate content