Which two actions should you recommend?

Correct Answer for the following Question is given below

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.)

Question:

Which two actions should you recommend?

Options:

Add the PrintingPermission attribute to the code-behind page class.

In the header, add a style sheet tag that sets the media attribute to print.

Add an OnClientClick event handler to the print button to call the window.print() function.

Add an OnClick event handler to the print button to set the Response.ContentType property to style/print.

Correct Answer

The Correct Answer for this Question is

In the header, add a style sheet tag that sets the media attribute to print.
Add an OnClientClick event handler to the print button to call the window.print() function.

Explanation

The Question – Which two actions should you recommend? has been answered correctly and answers for the question is In the header, add a style sheet tag that sets the media attribute to print.
Add an OnClientClick event handler to the print button to call the window.print() function.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *