function Print() { var prt = document.getElementById('<%=file1.ClientID %>'); prt .border = 0; //file1.Attributes(style) = "page-break-after:always" var prtwin = window.open('', 'file1', 'left=100,top=100,width=1000,height=1000,tollbar=0,scrollbars=1,status=0,resizable=1'); prtwin.document.write(file1.outerHTML); prtwin.document.close(); prtwin.focus(); prtwin.print(); prtwin.close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)