AJAX is not a new programming language, but a new way to use existing standards. AJAX is the art of exchanging data with a server, and update parts of a web page – without reloading the whole page. There are too many web applications running on the web that are using AJAX technology such as gmail, facebook, twitter, google map, youtube etc. Here we are going to discuss how ASP.NET uses AJAX under following topics.
- ASP.NET AJAX Concepts
- ASP.NET AJAX Architecture
- Creating ASP.NET AJAX Application
ASP.NET AJAX Architecture
Creating ASP.NET AJAX Application
We need ASP.NET AJAX Extensions and ASP.NET AJAX Server Controls in the Toolbox to create an AJAX enabled application.
ASP.NET AJAX Server Controls
Next most important server control is UpdatePanet and it enables the page for partial page updates. It has several properties. If we want to update a portion of a page then we need to add those portions of the page into own UpdatePanel.
This server control provides visual feedback about the progress that the partial page update is undergoing. Sometimes we need to keep waiting the user until some portion of the page is updated. For that thing UpdateProgress can be used.
This server control is used for periodic page postbacks which may be full or partial. If the timer is placed outside of an UpdatePanel a full page postback is occurred but the timer is in the UpdatePanel partial page postback is occurred. We can specify the time period in between two consecutive page updates.
You can see the implementation details of an ASP.NET AJAX enabled web application as the next post. Therefore stay tuned with us.