in report on clicking print button i want all pages to be printed.in javascript if i give window.print(); only the last page viewed in report is printed(only 1 page printed) i want all pages to be printed how to code for that in javascript
type="button" value="Print" id="Button9" onclick="javascript:window.print()" />
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Renish Patel160 reputationPosted Jul 22, 2013, 1:47 AM EDT
It's not your code fault,Apparently it is a Firefox bug that can be worked around by altering the CSS:
http://jafferhaider.wordpress.com/2007/12/29/fix-for-the-firefoxcss-one-page-printing-bug/
If you geeting your solution mark this post as answered..
Thanks
Renish Ankola
selva kumarRank #2,987 · 483 reputationPosted Jul 22, 2013, 2:36 AM EDT
you just replace onclick by onclientclick="javascript:window.print()"..........