HI,i used javascript:window.print() in my application for print, but when the print is given am gettng that print button on the printed page. how to make that print button invisible
Have you tried something like:
javascript
:onclick: window.print();btn_print.visible='false';
?
This will make the print button invisible but this also means that the user will never be able to click it again....
If your button does a post back to your server, the page will be refreshed and the button will become visible again, so you'd have to suppress any postback actions that the button may do.
Is this a .NET question or a JavaScript question?
-Frinny