Which approach should you recommend?

You need to design a solution for implementing holiday-specific site changes.
Which approach should you recommend?

You need to design a solution for implementing holiday-specific site changes.
Which approach should you recommend?

A.
Create a single master page, and change its images and styles dynamically in the code-behind file.

B.
Create one master page for each holiday.
In each master page, reference the styles and images for the specific holiday.

C.
For each holiday, create a theme that contains the related images and styles.
Include a skin file, and reference the images within the master page with a SkinID.
D. For each holiday, create a theme that contains the related images and styles.
Include a skin file, and reference all images within the Web application with a SkinID.

Explanation:
Like style sheets, themes centralize formatting settings. However, although style sheets rely on the client
browser to download and apply the settings, ASP.NETprocesses themes on the server by setting control
properties to specified defaults prior to rendering.
Themes are stored in the App_Themes\<theme_name>\ folder and consist of one or more skin files. Each skin
file contains a list of controls with default property settings. Skin file definitions closely resemble controls in an
ASPX file. However, skin files never specify an ID property.



Leave a Reply 0

Your email address will not be published. Required fields are marked *