What should you do to associate Button controls on the Web application’s default.aspx page?

You are developing a Web application that that implements themes. You create a theme named BasicTheme that contains two skin files named default.skin and alt.skin. The default.skin file represents the default skin file for all controls in the Web application. You want to associate Button controls on the Web application’s default.aspx page with a non-default skin.
What should you do?

You are developing a Web application that that implements themes. You create a theme named BasicTheme that contains two skin files named default.skin and alt.skin. The default.skin file represents the default skin file for all controls in the Web application. You want to associate Button controls on the Web application’s default.aspx page with a non-default skin.
What should you do?

A.
Associate the alt.skin file with a new theme named altTheme.
On the default.aspx page, add a SkinID property with the value “alt.skin” to the definition of each Button control.

B.
Associate the alt.skin file with a new theme named altTheme.
On the default.aspx page, add a SkinID property with the value “alt” to the definition of each Button control.

C.
Add a SkinID property with the value “alt” to the Button control’s definition in alt.skin.
On the default.aspx page, add a SkinID property with the value “alt” to the definition of each Button control.

D.
Add a SkinID property with the value “alt” to the Button control’s definition in default.skin.
On the default.aspx page, add a SkinID property with the value “alt” to the definition of each Button control.

Explanation:
Both the Button control definition in the non-default skin file on the buttons on the page must have a SkinID property with an identical value.

Incorrect Answers:
A, B: Button control definition in the non-default skin file on the buttons on the page must have a SkinID property with an identical value.
D: The Button control definition in the non-default skin file on the buttons on the page must have a SkinID property with an identical value.



Leave a Reply 0

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