Page 1 of 1
Help-Printing Page view from Browser
Posted: Sat Sep 06, 2008 9:12 am
by JimCrisp
Hi all..Having problem when the user prints the page from the browser. I'm not a web guy by trade, win forms here. The printed page doesn't contain the header or side bar. My boss wants a "good user experience" so how do I get the page to print as it looks in the browser?
Thanks for any information you can provide.
Jim
Re: Help-Printing Page view from Browser
Posted: Sat Sep 06, 2008 10:23 am
by jmestep
I think it is because of the print.css that is being applied. You would have to adapt that. You can see the left nav on the home page print, but not the product page print so there is some difference in styles there.
Re: Help-Printing Page view from Browser
Posted: Sun Sep 07, 2008 10:31 pm
by mazhar
Yes judy is right. The print.css is used for this purpose. Typically you will find noPrint class specified over the page sections that shouldn't included in print. For example for invoice you can edit the Website\Admin\Orders\Print\Invoices.aspx and remove the noPrint class from the page. Now you will see that those hidden parts will be included in print.
Re: Help-Printing Page view from Browser
Posted: Wed Sep 10, 2008 6:09 pm
by JimCrisp
Hi guys,
That's just what I needed. Thanks so much for responding.
Jim