What should you do to use this variable to dynamically set the Web site’s Theme?

Your Web site uses custom Themes. Your Web site must support additional Themes based on the user’s company name. The company name is set when a user logs on to the Web site. The company’s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site’s Theme. What should you do?

Your Web site uses custom Themes. Your Web site must support additional Themes based on the user’s company name. The company name is set when a user logs on to the Web site. The company’s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site’s Theme.

What should you do?

A.
Add the following code segment to the markup source of each page on the Web site.
<%@ Page Theme=”ThemeName” … %>

B.
Add the following code segment to the Load event of each page on the Web site.
Page.Theme = ThemeName

C.
Add the following code segment to the PreInit event of each page on the Web site.
Page.Theme = ThemeName

D.
Add the following code segment to the Web site’s configuration file. <pages theme=”ThemeName” />



Leave a Reply 0

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