October 2010
Intermediate to advanced
1920 pages
73h 55m
English
You can apply skins dynamically to particular controls in a page. In the Page PreInit event, you can modify a control’s SkinID property programmatically.
For example, the page in Listing 6.20 enables a user to select a favorite skin for a GridView control. The GridView control displays a list of movies (see Figure 6.9).
Figure 6.9. Applying a Skin programmatically.

Listing 6.20. ShowDynamicSkin.aspx


A hyperlink is used ...