Bajrang Posted July 6, 2007 Share Posted July 6, 2007 Hi all,I have a gridView to list rows and am printing from IE using javascript window.print(). Its working very fine. But I like to print header in each page of my print. Is it possible?Also I am using the following script to set up the page break after printing 15 items in a page. It is working all right. Is there any other way to insert page break after certain page margin?protected void GVMaterialMovement_RowCreated(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow){count++;if(count > 15){e.Row.Style.Add("page-break-after", "always");count = 0;}}}Is there any similar way to add header after each 15 Records?Thanks and Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.