This is a migrated thread and some comments may be shown as answers.

Header and Footer on Export to PDF

2 Answers 147 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alertas
Top achievements
Rank 1
Alertas asked on 08 Apr 2015, 04:44 PM

Hi  guys... 

 

¿How i can put only the Header in the first page and Footer in the last Page when i export the Grid to PDF?

 

Thanks a lot.

 

currently version: 2013.2.717.40

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 13 Apr 2015, 08:01 AM
Hello Alertas,

Header and footer appear on every page and I'm afraid it is not possible to change that. If you don't need a real header and footer, but if you would rather need to put some information before and after the control then you can do that by modifying the HTML. Handle the PdfExporting event and insert the "header" before the text in the e.RawHTML contents. The "footer" can just be appended and it will appear on the last page.

Regards,
Daniel
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Alertas
Top achievements
Rank 1
answered on 13 Apr 2015, 03:14 PM

Yes, I have made this possible in this way...

thanks!

Tags
Grid
Asked by
Alertas
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Alertas
Top achievements
Rank 1
Share this question
or