<pre>function lnkPrint() { var printContent = document.getElementById('<%=GridView1.ClientID %>'); var printWindow = window.open("All Records", "Print Panel", 'left=50000,top=50000,width=0,height=0'); printWindow.document.write(printContent.innerHTML); printWindow.document.close(); printWindow.focus(); printWindow.print(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)