SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 343 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

..


CHAPTER 10 ?–  BUILDING A SAMPLE APPLICATION USING ASP.NET AJAX 254
This can be placed just about anywhere within the page, but in this case, we have it
as one of the first elements in the UpdatePanel. The DisplayAfter property is set to 300 so
that the UpdateProgress renders 300 milliseconds after a postback. Because we have only
one UpdatePanel on this page, setting the AssociatedUpdatePanelID property isn??™t required
but is usually a good practice to do so anyway as done here. Also quite often, a circular
animating GIF image is used to show updates taking place as used in some of the earlier
chapters. In this case, however, we are simply specifying ???Loading??¦??? with bright yellow
colors and a blue background. Figure 10-17 shows UpdateProgress in action.
Figure 10-17. UpdateProgress used to notify users during asynchronous updates
Summary
This chapter covered a typical real-world ASP.NET application and showed how you
could drastically enhance it using the ASP.NET AJAX server and client libraries. It demonstrated
a logical n-tier architecture, with diverse resource tiers exposed via web services;
a data retrieval layer that abstracted the complexity of talking to the resources; a business
logic tier that applied business logic such as the calculation of financial analytics; and a
presentation tier that implemented the presentation logic.


Pages:
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355