<script type="text/javascript"> function PrintGridData() { var prtGrid = document.getElementById('<%=searchedgrid.ClientID %>'); var prtMenu = document.getElementById("<%=lblCurrentPath.ClientID %>").innerHTML; var prtwin = window.open('', 'PrintGridView', 'left=100,top=100,width=400,height=400,tollbar=0,scrollbars=1,status=0,resizable=1'); if (prtMenu != null) { prtwin.document.write(prtMenu.outerHTML); } if (prtGrid != null) { prtwin.document.write(prtGrid.outerHTML); } prtwin.document.close(); prtwin.focus(); prtwin.print(); prtwin.close(); } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)