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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
selva kumarPosted Jul 22, 2013, 6:36 AM
you just replace onclick by onclientclick="javascript:window.print()"..........
Renish PatelPosted Jul 22, 2013, 5:47 AM
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