Preface
Part I. Basics
1. ASP.NET AJAX, Ajax, and ASP.NET
ASP.NET AJAX and Ajax
ASP.NET AJAX and ASP.NET
ASP.NET AJAX Prerequisites and Installation
ASP.NET AJAX Structure and Architecture
A First ASP.NET AJAX Example: Hello User
The ScriptManager Control
Summary
For Further Reading
2. JavaScript
The JavaScript Language
Object-Oriented Programming (OOP)
Accessing Page Elements
DOM Methods
Summary
For Further Reading
3. Ajax
The XMLHttpRequest Object
The XMLDocument Object
JSON
Summary
For Further Reading
Part II. ASP.NET AJAX Extensions
4. Using ASP.NET AJAX JavaScript Extensions
ASP.NET AJAX Shortcuts and Helper Functions
Extensions to Existing JavaScript Objects
ASP.NET AJAX OOP Features for JavaScript
Client Versions of .NET Classes
Summary
For Further Reading
5. Web Services
Error Handling
Page Methods
Maintaining Session State
Exchanging Complex Data with the Server
Consuming Web Services with JavaScript
Summary
For Further Reading
6. UpdatePaneh Refreshing Only Parts of a Page
Making a Page Region Updatable
Summary
For Further Reading
7. Using the ASP.NET AJAX Profile Service
Preparing the Web Site
Accessing Profile Data
Accessing Profile Group Data
Summary
For Further Reading
8. Using the ASP.NET AJAX Authentication Service
Preparing the Application
Login and Logout
Summary
For Further Reading
9. Localizing and Globalizing Applications
Localization
Globalization and Internationalization
Summary
For Further Reading
Part III. ASP.NET AJAX Control Toolkit
10. Using the Control Toolkit
Installing the Control Toolkit
Using the Control Toolkit
Summary
For Further Reading
11. Adding Animation to a Web Page
Animation Framework
Drag-and-Drop
Summary
For Further Reading
12. Autocompleting User Input, Fighting $pam, and More
Creating an Accordion Pane
Maintaining the Relative Position of an Element
Adding Autocomplete Behavior to a TextBox Control
Attaching a Calendar to a Text Field
Dynamically Collapsing a Single Panel
Displaying a Pop Up Over a Page
Fighting Spam in Blogs and in Other Entry Forms
Creating a Tabbed Interface
Summary
For Further Reading
13. Writing Custom Controls and Contributing to the Community
Writing Custom ASP.NET AJAX Controls
Contributing to the Control Toolkit
Summary
For Further Reading
Part IV. ASP.NET AJAX Futures
14. Client Controls
Introducing ASP.NET AJAX Client Controls
Using ASP.NET AJAX Controls
Handling Control Events
Summary
For Further Reading
15. Binding and Validating Data
Data Binding
Data Validation
Summary
For Further Reading
16. Using Behaviors and Components
Using Behaviors
Using Components
Summary
For Further Reading
17. Using Server Data
Using a ListView Control
Creating a Custom Data Source
Summary
For Further Reading
18. Using Remote Web Services
Using the Google Web Service
Using the Amazon Web Service
Transforming a Web Service Result with XSLT
Using the Yahoo! Web Service (and REST and XPath)
Summary
For Further Reading
19. Using Animations
Using Animations
Using an Animation to Create a Fade Effect
Summary
For Further Reading
20. Fixing Bookmarks and Back/Forward Buttons
Fixing with Code
Fixing Bookmarks and Back/Forward Buttons with Controls Using
UpdateHistory
Fixing Bookmarks and Back/Forward Buttons with Controls Using the
ASP.NET AJAX Futures
Summary
For Further Reading
21. Web Parts
Using ASP.NET AJAX with ASP.NET Web Parts
Summary
For Further Reading
Part V. Microsoft AJAX Library
22. Using ASP.NET AJAX with Other Server Technologies
Using ASP.NET AJAX with PHP
Summary
For Further Reading
Part Vl. Appendixes
A. Debugging ASP.NET AJAX Applications
B. XMLHttpRequest Reference
C. DOM Reference
D. ASP.NET AJAX Reference
E. ScriptManager, UpdatePanel, UpdateProgress, and Timer Declarative Reference
Index