C# 2.0 new features, 13–25
anonymous methods, 22–24
generics, 14–19
iterators, 19–22
partial classes, 24–25
CacheDependency class, 312
CachedImageServiceHandler, 268
CacheDuration property, 79
CacheExpirationPolicy property, 79
caching data, in GridView control, 79–80
caching support
other enhancements, 312
page and control caching, 313
and SQL Server invalidation, 307–314
configuration, 307–309
with Data Source controls, 309–310
programmatic invalidation, 310–312
Substitution control and, 288–289
Calendar control, 208
Cascading Style Sheets (CSS), themes and, 234, 241–242
Catalog mode for Web Part display, 202
controls used in, 203
CatalogBasePart control, 215–216
CatalogZone, 203, 215
ChangePassword control, 158
ChangePassword method, of MembershipUser class, 169
CheckBoxField field type, in GridView control, 69
Choose Location dialog box, 36, 37
classes
enumeration of, 19
partial, 24–25
typed, 14
Client Callback, 247–249, 304–306
client-side event handlers, 46, 47
client-side population, TreeView control with, 97–99
client-side scripts, 303–306
Intellisense and, 48, 350–351
ClientScript property, of Page class, 304
code
automatic generation, splitting files and, 25
protecting with precompilation, 356
reducing, 1
code-behind, 39, 51
code-beside, 33, 51–53
code directory, 53–56, 351–353
multilanguage and multitype support, 55
CollectionBase class, 14
ColumnFields property, of GridView control, 68
columns in GridView control, defining, 68–69
CommandField field type, in GridView control, 69
commands (verbs), for Web Parts, 213
comment character ('), 26
comments, in Visual Basic .NET, 26
CommitSettings() method, 181
compilation, implicit, 49
.compile extension, 57
configuration. See also machine.config file; web.config file
Microsoft Management Console (MMC), 331–332
as new ASP.NET feature, 11–12
Configuration API, 333–346
accessing configuration, 333–342
accessing non-well-known web configurations, 339–342
accessing well-known web configurations, 337–339
application settings and connection strings, 334–336
updating configuration, 343–346
application settings and connection strings, 343–345
Configuration class
Sections property, 339–340
SectionsGroups property, 339–340
Web property of, 337
Configuration Settings Editor, 11
ConfigurationSettings class, 334
Configure DataSource dialog box, 64
confirmation, for deleting record, 73–74
Connect To DataSource command, 63, 94
connection points for Web Parts, sharing data with, 225–231
connection strings
configuration, 335
updating configuration, 344–345
content page, creating from master page, 113–115
ContentPlaceHolder controls, 111–112
multiple on master page, 116–117
ContentPlaceHolderId property, 114
ContentTemplate property, 157
ContentWebPart control, 208, 217, 223
Continue keyword, 32
@Control directive, 123
control focus setting, in Page Framework, 294
Control State, 290
control tree, for master pages, 117
controls. See also names of specific controls
adding to themes, 241
custom, 45
with site counters, 264
themes for, 249–250
editing, 41–45
smart tags, 41–43
EnableTheming property, 244
for login, 359
as new ASP.NET feature, 2–4
themes and skins to define properties, 233
user, 45
for validation, 290–292
Web Parts, 202–203
ControlSkin class, 239
cookies, 7
CountClicks property, 252
CounterGroups property, 252
CounterName property, 252
counters, 10. See also page counters; site counters
CreateUser control, 158
CreateUser method, of Membership class, 161, 163
cross-page posting, with Page Framework, 296–300
CType operator, 30
CurrentNode property, 134
cursor, position preservation when switching views, 349–350
custom class, iteration through, 20–21
custom controls, 45
with site counters, 264
themes for, 249–250
custom providers
creating, 176
for user management, 176