NET 2.0 AJAX Extensions
The ASP.NET 2.0 AJAX Extensions integrate AJAX and ASP.NET 2.0 by providing a set of
AJAX server controls that can be dragged and dropped onto a web page in the same way
as any ASP.NET 2.0 server control. Each server control encapsulates the rendering
(HTML) and programming (JavaScript) that is necessary to perform its function. As you
can imagine, this significantly reduces the amount of effort that is required to develop
AJAX web applications.
The most powerful server control that the ASP.NET 2.0 AJAX Extensions provide is the
UpdatePanel. By ???wrapping??? existing content from your current ASP.NET web applications
within an UpdatePanel tag, the content can then be updated asynchronously from a user??™s
browser without a complete page refresh. In other words, putting the current HTML of an
ASP.NET page within the start and end UpdatePanel tags allows you to implement AJAX
functionality without knowing anything about the XMLHttpRequest object or JavaScript.
The significance of this cannot be overstated: existing web pages can easily be converted
to AJAX applications through the use of asynchronous partial-page updates!
CHAPTER 2 ?– TAKING AJAX TO THE NEXT LEVEL 28
In addition to server controls, the ASP.
Pages:
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80