0%

Book Description

This Wrox Blox will teach you how to create and customize ASP.NET 4 AJAX Preview 4 Client Templates. The author shows you how to use declarative as well as imperative data-binding techniques to address the simple to advanced UI requirements. He also covers how the observer pattern is fully implemented in ASP.NET 4 AJAX and, when used in conjunction with the Client Template markup extensions, provides a developer experience much like XAML-based applications like WPF and Silverlight. This Wrox Blox walks you through how to implement examples that fetch data from ASP.NET Web Forms using Page Methods and ASP.NET MVC controller actions, as well as interfacing directly with ADO.NET Data Services.

Table of Contents

  1. Copyright
  2. 1. Introduction to ASP.NET 4 AJAX Client Templates
    1. 1.1. What's New in ASP.NET 4 AJAX Preview 4
      1. 1.1.1. What Are Client Templates?
      2. 1.1.2. Environment Setup
      3. 1.1.3. Scripts Files
      4. 1.1.4. DataView
        1. 1.1.4.1. Declarative Data Binding
        2. 1.1.4.2. Programmatic Data Binding
      5. 1.1.5. Updating a DataView
        1. 1.1.5.1. Update the JavaScript
        2. 1.1.5.2. Update the HTML
      6. 1.1.6. Data-Binding Syntax
        1. 1.1.6.1. One-Way/One-Time Binding
        2. 1.1.6.2. One-Way/Live Binding
        3. 1.1.6.3. Two-Way/Live Binding
          1. 1.1.6.3.1. Create a Live Bound List Editor
        4. 1.1.6.4. Binding Customizations
          1. 1.1.6.4.1. Using Binding Customizations
    2. 1.2. Observer Pattern in JavaScript
      1. 1.2.1. Update the List Editor
      2. 1.2.2. Create the Page
        1. 1.2.2.1. Add the HTML
        2. 1.2.2.2. Add the JavaScript
    3. 1.3. Template Manipulation
      1. 1.3.1. Pseudo-Columns
      2. 1.3.2. Code Injection
        1. 1.3.2.1. A Working Example
    4. 1.4. Fetching Data from the Server
      1. 1.4.1. Using ASP.NET Page Methods
        1. 1.4.1.1. Implement the ASPX Code
        2. 1.4.1.2. Implement the Code-Behind
      2. 1.4.2. Using an ASP.NET MVC Controller Action
      3. 1.4.3. Using ADO.NET Data Services
        1. 1.4.3.1. Create the Entity Set
        2. 1.4.3.2. Create the ADO.NET Data Service
        3. 1.4.3.3. Declarative Data Binding
        4. 1.4.3.4. Imperative Data Binding
    5. 1.5. Wrapping Up
  3. About Craig Shoemaker
3.144.19.243