nerdexam
Microsoft

70-519 · Question #199

You are modifying an existing ASP.NET Web application. Each page of the Web application includes a navigation bar and a print button. You have the following requirements: - Enable users to print…

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

Question

You are modifying an existing ASP.NET Web application. Each page of the Web application includes a navigation bar and a print button. You have the following requirements:

  • Enable users to print pages of the Web site without printing the

navigation bar.

  • Do not create a separate version of the page formatted for printing.
  • Leverage the existing print button on each page.

You need to recommend an approach that meets the requirements. Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)

Options

  • AAdd the PrintingPermission attribute to the code-behind page class.
  • BIn the header, add a style sheet tag that sets the media attribute to print.
  • CAdd an Onclick event handler to the print button to set the Response.ContentType property
  • DAdd an OnClientClick event handler to the print button to call the window.print() function.

Unlock 70-519 to see the answer

You've previewed enough free 70-519 questions. Unlock 70-519 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-519 Practice