ReportViewer print out error
-
inside a form 1)i have a report viewer inside a div tag,which has an id, 2)a button for print when the button is pressed a script works as given below function printPartOfPage(elementId) { var printContent = document.getElementById(elementId); var windowUrl = 'about:blank'; var uniqueName = new Date(); var windowName = 'Print' + uniqueName.getTime(); var printWindow = window.open(windowUrl, windowName, 'left=50000,top=50000,width=750,height=800'); printWindow.document.write(printContent.innerHTML); printWindow.document.close(); printWindow.focus(); alert(printWindow); printWindow.print(); printWindow.close(); } when it executes a new window gets opened in which the report viewer becomes visible MY PROBLEM IS While taking the printout of the values in this report viewer,the values are not printed out as output.Please help me.