AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Implementing a ICallbackEventHandler in ASP.NET 2.0 : Ashish Sarda

Sunday, June 29 2008

A step-by-step guide for implementing the ICallbackEventHandler interface in an ASP.NET 2.0 web page. ASP.NET 2.0 introduced an interface named ICallbackEventHandler (System.Web.UI.ICallbackEventHandler) to allow asynchronous communication with the server. Unlike Postback, in Callback only user defined information is sent to the server. Instead of using Postback to post the page, ICallbackEventHandler uses the DoCallback event to send user defined data to server, and return a String to client; on the client-side JavaScript can then manipulate the string. In total we have to use four functions for the implementating ICallbackEventHandler; two client side functions (in javascript) and two server side functions (C# in this case)...

Read More:
Implementing a ICallbackEventHandler in ASP.NET 2.0 : Ashish Sarda
Also See:
Cross-Page Postbacks Made Easy with .NET 2.0 : Shaun Eutsey
Using Syndication Classes to Read RSS Feeds : Bipin Joshi
Examining the Events Associated with Inserting, Updating, and Deleting : Scott Mitchell
Build an ASP.NET Session Timeout Redirect Control : Peter A Bromberg
Globalization and Localization : Richard Bean

Post your comment

Comment