c# - Print a View without buttons -


how can print view without showing buttons on printed paper?

edit: button this:

<input type="submit" value="drucken" onclick=" window.print(); " /> <input type="submit" value="schließen" onclick=" window.close(); " /> 

use css file printing, , hide buttons (display:none) in css file.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -