■ CONTENTS
xiv
Editing Templates in Visual Studio .....................................................................................................436
Binding to a Method ...........................................................................................................................437
Handling Events in a Template ...........................................................................................................439
Editing with a Template......................................................................................................................440
Client IDs in Templates.......................................................................................................................447
The ListView ................................................................................................................447
Grouping .............................................................................................................................................451
Paging.................................................................................................................................................453
The DetailsView and FormView ...................................................................................454
The DetailsView ..................................................................................................................................454
The FormView.....................................................................................................................................457
Advanced Grids............................................................................................................459
Summaries in the GridView ................................................................................................................459
A Parent/Child View in a Single Table ................................................................................................461
Editing a Field Using a Lookup Table..................................................................................................464
Serving Images from a Database .......................................................................................................466
Detecting Concurrency Conflicts ........................................................................................................472
Summary .....................................................................................................................476
■ Chapter 11: Caching and Asynchronous Pages ...............................................477
Understanding ASP.NET Caching.................................................................................477
Output Caching ............................................................................................................478
Declarative Output Caching ................................................................................................................479
Caching and the Query String.............................................................................................................480
Caching with Specific Query String Parameters.................................................................................481
Custom Caching Control .....................................................................................................................481
Caching with the HttpCachePolicy Class ............................................................................................483
Post-Cache Substitution and Fragment Caching................................................................................484
Cache Profiles.....................................................................................................................................487
Cache Configuration ...........................................................................................................................487
Output Caching Extensibility...............................................................................................................488
Data Caching ...............................................................................................................493
Adding Items to the Cache .................................................................................................................494