javascript+gridview+asp.net
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all I want to know How can we define no of rows in a window. but this script writes all rows of that gridView. So How can we control no of rows so we can print as many no of record as we want. Is there any other function Please let me know. Your help is highly appreciated, Thanks function CallPrint(strid) { var prtContent = document.getElementById(strid); var strOldOne=prtContent.innerHTML; var WinPrint = Window.open('','','letf=100,top=100,width=1000,height=1000,toolbar=0,scrollbars=1,status=0,resizable=1'); WinPrint.document.write(prtContent.outerHTML); WinPrint.document.close(); WinPrint.focus(); WinPrint.print(); WinPrint.close(); }
Bajrang Singh Using .net 2.0 (VS2005)