nerdexam
Microsoft

70-515 · Question #14

70-515 Question #14: Real Exam Question with Answer & Explanation

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

Question

You create an ASP.NET page that contains the following tag. <h1 id="hdr1" runat="server">Page Name</h1> You need to write code that will change the contents of the tag dynamically when the page is loaded. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

Options

  • Athis.hdr1.InnerHtml = "Text";
  • B(hdr1.Parent as HtmlGenericControl).InnerText = "Text";
  • CHtmlGenericControl h1 = this.FindControl("hdr1") as
  • DHtmlGenericControl h1 = Parent.FindControl("hdr1") as

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