Hi, im a newbie in .NET Technology, I would like to know how can I program a certain page to print its current page by using a Print button. Also I would like to hide the Print button on the print-out. Thanks, pls help me.
Printable View
Hi, im a newbie in .NET Technology, I would like to know how can I program a certain page to print its current page by using a Print button. Also I would like to hide the Print button on the print-out. Thanks, pls help me.
Are you taking about taking a picture of the screen or printing a ASP.Net page?
You need to be more clear on what you want to get a decent answer...
Yes, that's abolutely I would like to do. Actually I have done it using this code in javascript:
if (window.print)
window.print();
Now what I would like to do is hide the buttons on the page, set its margin on the print-out and other settings as well.
Thanks