AJAX in C# ASP.NET Web Pages
October 18, 2010 0 CommentsWhat is AJAX? AJAX stands for asynchronous JavaScript and XML, and is a technology that allows your ASP.Net web pages to work much more dynamically.
An AJAX-enabled website has three major benefits:
- Less bandwidth use
- More responsive
- More like a desktop application
A normal ASP.Net page does a full postback whenever certain events are triggered, more specifically button Click events. What that means is the state of the whole page is sent to the server, updated, and then the whole page is returned to display to the user.
What AJAX does is allow the webpage to do a postback on small parts of the page. By creating an UpdatePanel, only the part of the page inside of it will postbacked. Thus the rest of the page can remain intact.
The obvious benefit of not having to resend the entire page is the reduced use of bandwidth. Also not ...
Subscribe