ASP.NET AJAX UpdatePanel Control

Book description

This newly revised Short Cut teaches you how to build richer and more interactive Ajax-style web pages using ASP.NET AJAX, Microsoft's Ajax framework for ASP.NET 2.0. The ASP.NET AJAX UpdatePanel control is key to building ASP.NET 2.0 applications more responsive to user input and in this tutorial, you'll learn how to use it from the Microsoft experts: Bertrand Le Roy, UpdatePanel control's architect and developer, and Matt Gibbs, ASP.NET AJAX dev team manager.

Completely revised for the Version 1.0 release of ASP.NET AJAX, this Short Cut teaches you what you need to know to make UpdatePanel part of your application pages. You'll also learn how to use the control to improve the performance of an ASP.NET Wizard control; create a better master/details page for the AdventureWorks database; and add a pop-up preview to a search page. Finally, you'll learn how to display UpdatePanel error messages and deal with its quirks and limitations. And all of the example code is available for free download. In short, this PDF has exactly what you need to begin adding the interactivity of AJAX to your ASP.NET 2.0 applications today.

Table of contents

  1. ASP.NET AJAX UpdatePanel Control
    1. A Note Regarding Supplemental Files
    2. Implementing AJAX-Style Asynchronous Partial-Page Updates with the New ASP.NET AJAX UpdatePanel Control
    3. Introducing the UpdatePanel Control
      1. Setting Up a Web Application and a Page to Use UpdatePanel
      2. The UpdatePanel Control
      3. The ContentTemplate Property
      4. The ScriptManager Control Dependency
      5. The UpdateMode Property
        1. AsyncPostBackTrigger
        2. PostBackTrigger
      6. The RenderMode Property
      7. The UpdateProgress Control
        1. Delaying the UpdateProgress control display
        2. Integration of the progress indication in the layout of the page
      8. Forcing a Control to Use Asynchronous Postbacks
      9. Refreshing a Panel at Regular Intervals
      10. Determining What Is Being Updated
    4. Using the UpdatePanel Control
      1. Making the ASP.NET 2.0 Wizard Control Behave in a More Fluid Manner
      2. Creating a More Interactive Master/Details Page
      3. Creating a Search Page with a Pop-up Details Preview
        1. Navigation vs. application operations
        2. Implementing dynamic tooltips
    5. Repeating UpdatePanels
    6. Redirecting from an asynchronous postback
    7. Displaying Error Messages
    8. Client-side representation of UpdatePanel controls and ScriptManager
      1. PageRequestManager events
        1. initializeRequest
        2. beginRequest
        3. pageLoading
        4. pageLoaded
        5. endRequest
      2. Sending structured data to the client
    9. Dealing with Caveats
        1. Writing controls for use in UpdatePanel
        2. Nested UpdatePanels
        3. UpdatePanel requests are sequential
        4. xml-script in UpdatePanel
        5. Forcing or preventing the update of a conditional panel
        6. File upload and UpdatePanel
    10. For Further Reading
    11. Appendix: Creating the AdventureProducts.xsd DataSet
      1. Creating the DataSet File
      2. Creating the Product Category Adapter
      3. Creating the Product Table Adapter
      4. Creating the Product Details Aadapter
      5. Creating the Image Queries
    12. About the Authors

Product information

  • Title: ASP.NET AJAX UpdatePanel Control
  • Author(s):
  • Release date: May 2006
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9780596558673