nerdexam
Microsoft

70-515 · Question #96

You are developing an ASP.NET web page named WebPage.aspx. The page includes a user control named UserInfoControl.ascx. You need to expose a control property named FirstName and read its value from…

The correct answer is B. Add the following code segment to UserInfoControl.ascx.cs: D. Add the following code segment to WebPage.aspx.cs. See the full explanation below for the reasoning.

Question

You are developing an ASP.NET web page named WebPage.aspx. The page includes a user control named UserInfoControl.ascx. You need to expose a control property named FirstName and read its value from the page. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Options

  • AAdd the following code segment to UserInfoControl.ascx.cs:
  • BAdd the following code segment to UserInfoControl.ascx.cs:
  • CAdd the following code segment to WebPage.aspx.cs:
  • DAdd the following code segment to WebPage.aspx.cs:

How the community answered

(37 responses)
  • A
    14% (5)
  • B
    81% (30)
  • C
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice