function CallPrint() {
var prtContent = document.getElementById('<%=ReportViewer1.ClientID %>'); var WinPrint = window.open('', '', 'left=0,top=0,width=800%,height=600,toolbar=1,scrollbars=1,status=1'); WinPrint.document.write(prtContent.innerHTML); WinPrint.document.close(); winPrint.focus(); WinPrint.print(); WinPrint.close(); } |
No comments:
Post a Comment