Search This Blog

Showing posts with label AJAX. Show all posts
Showing posts with label AJAX. Show all posts

Thursday, September 2, 2010

Overview of ASP.NET AJAX

ASP.NET AJAX is a free platform-independent scripting framework for quickly creating efficient and interactive Web applications that works across all popular browsers. AJAX enhances the user interactivity by providing asynchronous postback functionality which enables partial-page updates and fewer page refreshes.  
ASP.NET does provide many tools that make building AJAXenabled webpages easier. ASP.NET ships with a set of AJAX server controls that can be embedded in your webpages to enable partial-page updates, communicate with a server process to indicate progress, and periodically update portions of a page.

■ The ScriptManager control is required on all pages that work with the AJAX Extensions for ASP.NET. It manages the JavaScript files sent to the client and the communication between the server and the client.
■ The ScriptManagerProxy control is used on pages that work with a master page that already defines a ScriptManager control or with user controls that will be used on  pages that include a ScriptManager control.
■ The UpdatePanel control allows you to define an area within your page that can post back to the server and receive updates independent of the rest of the page.
■ The UpdateProgress control is used to provide notice to the user that the page has  initiated a callback to the server.
■ The Timer control is used to periodically send a partial-page request (by using an  UpdatePanel control) to the server at timed intervals.

Partial page updates - The ability to do a partial or incremental page updates without doing a full postback to the server, with no code changes and minimal markup changes. This ensures that the user stays within his or her current context. It also gives users the feeling that they are interacting with the application and not a server.

Client-side processing - This interactivity provides immediate feedback and responsiveness to users. With client script, you can enable functionality such as collapsible areas of a page, tabs on a webpage, data sorting on the client, and much more.

Progress indication - Track the progress of a server-side process and continuously update the user. This gives users the feeling that they are in control and assures them that the application is still processing.