CONTENTS
The AutoPostBack Property ................................................................................................................ 1384
The Control and WebControl Base Classes..................................................................1385
Enumerating Contained Controls........................................................................................................ 1386
Dynamically Adding and Removing Controls ...................................................................................... 1389
Interacting with Dynamically Created Controls .................................................................................. 1390
Functionality of the WebControl Base Class....................................................................................... 1391
Major Categories of ASP.NET Web Controls ................................................................1392
A Brief Word Regarding System.Web.UI.HtmlControls ....................................................................... 1395
Web Control Documentation............................................................................................................... 1396
Building the ASP.NET Cars Web Site ...........................................................................1396
Working with ASP.NET Master Pages................................................................................................. 1397
Defining the Default Content Page ..................................................................................................... 1404
Designing the Inventory Content Page ............................................................................................... 1407
Designing the Build-a-Car Content Page............................................................................................ 1412
The Role of the Validation Controls..............................................................................1415
Enabling Client-Side JavaScript Validation Support........................................................................... 1417
The RequiredFieldValidator ................................................................................................................ 1417
The RegularExpress ionValidator......................................................................................................... 1418
The RangeValidator ............................................................................................................................ 1418
The CompareValidator ........................................................................................................................ 1418
Creating Validation Summaries .......................................................................................................... 1419
Defining Validation Groups ................................................................................................................. 1421
Working with Themes..................................................................................................1422
Understanding *.skin Files.................................................................................................................. 1423
Applying Site-Wide Themes ............................................................................................................... 1426
Applying Themes at the Page Level.................................................................................................... 1426
The SkinID Property............................................................................................................................ 1426
Assigning Themes Programmatically ................................................................................................. 1427
l