nerdexam
Microsoft

70-515 · Question #118

You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?

The correct answer is A. Protected Sub Page_Load(ByVal sender As Object. See the full explanation below for the reasoning.

Question

You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?

Options

  • AProtected Sub Page_Load(ByVal sender As Object,
  • BProtected Sub Page_Load(ByVal sender As Object,
  • CPrivate Sub TestPage_Init(ByVal sender As Object,
  • DPrivate Sub TestPage_PreInit(ByVal sender As Object,

How the community answered

(59 responses)
  • A
    80% (47)
  • B
    5% (3)
  • C
    3% (2)
  • D
    12% (7)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice