nerdexam
Microsoft

70-515 · Question #162

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

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

Question

You create a Web page that has an ASP.NET menu. You need to ensure that the menu items are populated from an array of strings in your code- behind file. What should you do?

Options

  • AWrite a JavaScript function that uses document.write to write out an asp:MenuItem for each
  • BIn the Page_Render handler, use Response.Write to write out an asp:MenuItem for each
  • CSet the DataSource attribute of asp:Menu to the name of the array.
  • DIn the Page_Load handler, create an instance of asp:MenuItem for each string array element,

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