Need to create a print button in asp.net using vb.net to print current page without headers
I have an asp.net application built using vb.net on visual studio 2015. I want the user to be able to print an asp page to either a printer or Adobe PDF without headers or footers. I don't want the user to have to adjust the print settings in their browser. Is there a way I can create a print button that will send the page to a printer and change their header and footer settings to be blank.
ASKER CERTIFIED SOLUTION
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thank you Chinmay. I built a master page with nothing on it. It still prints the the date in corner and site name on top and bottom. Any way to get rid of that?
Please share a screenshot of the Master Page's rendering and I think this header and footer is coming from the Browser itself.
Thank you. I did the css using Meadcoscript