Rank: Member Groups: Member
Joined: 5/15/2012 Posts: 18
|
Hi
I have just started using aspxtopdf and I cant get the headers and footers to work. I have done the the following
HtmlToPdf.Options.VisibleElementIds = pnlMain.ClientID HtmlToPdf.Options.PageSize = PdfPageSizes.A4 HtmlToPdf.Options.HeaderHtmlFormat = "<div style='text-align:center'>Chapter 3 - Have Fun!</div>" HtmlToPdf.Options.FooterHtmlFormat = "<div style='text-align:center'>{page_number}</div>" ASPXToPDF1.RenderAsPDF(True)
The panel pdfs perfectly, but with no headers and footers
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
We have confirmed this to be a bug and posted a new build that should fix this problem. Please see your private message for the download location.
Thanks!
|
Rank: Member Groups: Member
Joined: 5/15/2012 Posts: 18
|
Than you for the prompt response
|