Welcome Guest Search | Active Topics | Sign In | Register

PDF headers and footors Options
mike
Posted: Wednesday, April 24, 2013 2:10:16 AM
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

eo_support
Posted: Wednesday, April 24, 2013 11:33:23 PM
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!
mike
Posted: Thursday, April 25, 2013 12:46:48 AM
Rank: Member
Groups: Member

Joined: 5/15/2012
Posts: 18
Than you for the prompt response


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.