Guest User

Guest User

  • Tech Writer
  • 41
  • 15.9k

Printing in mvc 5

Jun 21 2015 4:41 PM

 My University group is presently building a leave system. I am tasked with the print functionality of the application to print a leave form. My present code is below in the View. The problem I have is that it works, but is basically screen grabs the page and shows the print button when  the page is printed. How do I print selected items? I don't want the button the show, and would the company logo to reflect if possible. thanks

<p>

<input type="button" value="Print Document" onclick="window.print()" class="btn btn-primary" />

</p>










 


Answers (1)