PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives.

<%@ Master Language="C#" Src="~/article.master.cs" Inherits="article" %>

You need to create a content page that uses the master page as a template. In addition, you need to use a single master page for all devices that access the Web site.
Which code segment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<%@ Page Language="C#" Theme="article"%>

B.
<%@ Page Language="C#" MasterPageFile="~/article.master"%>

C.
<%@ Page Language="C#" ie:MasterPageFile="~/article.master"%>

D.
%@Page Language="C#" all:MasterPageFile="~/article.master"%


Leave a Reply