Free Trial Buy Now

Callback - Example

rss Developer Express Announces eXpressApp Framework Beta
rss Announcing a New Executable Ribbon Notepad Demo built with the upcoming ExpressBars v6
rss Developer Express Announces DXperience 2006 vol 3
rss ExpressBars v6 Beta is Available to Subscribers
rss The ExpressQuantumGrid Suite v6 is Now Available
rss Developer Express Announces DXperience 2006 vol 2

Description

The ASPxCallback is a non visual control that allows you to asynchronously transfer any information from server to client, when a need for this information occurs on the client.

This demo initially displays short news headlines. Detailed news descriptions can be loaded dynamically, without refreshing the entire web page. This effect is achieved by using client and server events available in the ASPxCallback component.

First, when a news headline is clicked, the client PerformCallback method of the ASPxCallback is called. This method is passed with an argument which contains the number of the corresponding news entry.

Next, the Callback event is raised on the server during server-side processing of the callback. In the event's handler, the required news description is obtained and assigned to the Result property of the event's argument.

Finally, when the response comes back to the client, the client CallbackComplete event of the ASPxCallback component is raised, allowing the resulting description text to be displayed within the page.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.