PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application contains a theme named Theme1. Theme1 contains a cascading style sheet (CSS) file and skin definitions for several control types. Theme1 is specified in the themeattribute of the pages element in the Web.config file.

Several pages within the application use Calendar controls.

You need to implement a solution that meets the following requirements:

– Calendar controls are provided on four pages along with a format that differs from the Calendar skin defined in Theme1.
– The display of Calendar controls on other pages within the application is unaffected.

Which two actions should you perform? (Each correct answer presents a complete solution.
Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Apply the required calendar formatting on the four pages in the Page.Load event handler.

B.
Create a skin named Calendar that contains the required formatting. On the four pages, specify the SkinID property for each Calendar control in the Microsoft Visual Studio design mode.

C.
Create a user control to include a Calendar control that has the required formatting. On the four pages, replace each Calendar control with the user control.

D.
Apply the required Calendar formatting on the four pages in the Microsoft Visual Studio design mode. On the four pages, set the StyleSheetTheme attribute to Theme1in the @ Page directive.

Explanation:
http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx


Leave a Reply