Microsoft
70-515 · Question #113
70-515 Question #113: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #113. The question stem and answer options stay visible for context.
Question
You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment: Partial Public Class Custom Inherits System.Web.UI.MasterPage Public Property Region As String Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub End Class You create a new ASP.NET page and specify Custom.master as its master page. You add a Label control named lblRegion to the new page. You need to display the value of the master page's Region property in lblRegion. What should you do?
Options
- AAdd the following code segment to the Page_Load method of the page code-behind file.
- BAdd the following code segment to the Page_Load method of the page code-behind file.
- CAdd the following code segment to the Page_Load method of the Custom.Master.vb
- DAdd the following code segment to the Page_Load method of the Custom.Master.vb
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.