Chapter 22. Ajax Programming
In this chapter, you
Get an overview of Ajax.
Use the ASP.NET
Use the ASP.NET AJAX
Create a Web service and call it from client script.
Explore the extender controls that you get in the ASP.NET AJAX Control Toolkit.
ASP.NET is based on postbacks. When the user clicks a button or makes a selection in a list box that has
AutoPostBack enabled, a request is sent to the server, and the complete page is sent back to the client. For the user this doesn't give the feeling of a "normal" application, because the complete page is redrawn. The user interface should stay active on the client, and only additional data to display should be requested from the server.
In reality, the technology that Ajax is based on is not new. With Internet Explorer and Web applications this has been possible for many years. Internet Explorer has included the
Ajax makes it easy to use the
XmlHttpRequest object, and nowadays this feature ...