PrepAway - Latest Free Exam Questions & Answers

What should you do?

You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.

<asp:contentplaceholder id=”area1″ runat=”server”/>
<asp:contentplaceholder id=”area2″ runat=”server”/>

You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.

<asp:Content ContentPlaceHolderID=”area1″ Runat=”Server”/> <asp:Content ContentPlaceHolderID=”area2″ Runat=”Server”/>

You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Move default content inside area2 in Template.master.
Remove area2 from Web Forms that do not provide content.

B.
Move default content inside area2 in Template.master.
Leave area2 blank in Web Forms that do not provide content.

C.
Move default content inside area2 in the Web Forms.
Remove area2 from Template.master.

D.
Create an additional ContentPlaceHolder control in Template.master named area2_default.
Place default content inside area2_default.
Remove area2 from Web Forms that do not provide content.


Leave a Reply