nerdexam
Microsoft

70-515 · Question #23

You are developing an ASP.Net web application. The application includes a master page named CustomerMaster.master that contains a public string property name EmployeeName application also includes a…

Sign in or unlock 70-515 to reveal the answer and full explanation for question #23. The question stem and answer options stay visible for context.

Question

You are developing an ASP.Net web application. The application includes a master page named CustomerMaster.master that contains a public string property name EmployeeName application also includes a second master page named NestedMaster.master that is defined by the following directive. <%@ Master Language="C#" MasterPageFile="~/CustomMaster.Master" CodeBehind="NestedMaster.Master.cs" Inherits="MyApp.NestedMaster"%> You add a content page that uses the NestedMaster.master page file. The content page contains a label control named lblEmployeeName. You need to acces the EmployeeName value and display the value within the lblEmployeeName label. What should you do?

Options

  • AAdd the following code segment to the code-behind file of the content page.
  • BAdd the following directive to the content page.
  • CAdd the following code segment to the code-behind file of the content page.
  • DAdd the following code segment to the code-behind file of the content page.

Unlock 70-515 to see the answer

You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-515 Practice