Areeb

Areeb

  • NA
  • 20
  • 0

How do i print HTML table. Header and footer on each page

Sep 2 2011 2:48 AM
I have htmltable which dynamically generated. I want to print this table. which consist lot of pages. when I used window.print() its printing into 7, 8 pages. but my problem is I need Header and footer on each page (A4 size). how can Set header and footer to each page.
I am using asp.net with C#.
 
I put header and footer on .aspx page but problem is that data is binding dynamic when I print then print goes multiple pages (ie 4 or 5 pages depend on data). So header come on first page and footer on last page I need header and footer on each page
 
Please provide me any suggestion or alternate way to do this task.

Answers (1)