October 2010
Intermediate to advanced
1920 pages
73h 55m
English
CommandFieldsYou can use a CommandField to customize the appearance of the Edit, Delete, Update, Cancel, and Select buttons displayed by the GridView control. For example, the page in Listing 11.20 uses icons for the standard edit buttons (see Figure 11.15).
Figure 11.15. Using a CommandField with the GridView control.

Listing 11.20. ShowCommandField.aspx


You do not enable the AutoGenerateEditButton or AutoGenerateDeleteButton properties ...