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

exporting grid to PDF - add content to end of report / grid output

2 Answers 11 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 15 Nov 2018, 07:44 PM

Hello,

I'm exporting a grid's contents using GridViewPDFExport and rendering with PDFExportRenderer, to use as a report.  The requirement is to add a signature block on the last page.  I understand that I can override the header or footer events, but in this case, I'd prefer the additional content to be added within the page itself, after the grid's contents (either below, or if doesn't fit, on the next page.)  Any ideas how I can accomplish this? 

Thanks!

Dan

2 Answers, 1 is accepted

Sort by
0
Dan
Top achievements
Rank 1
answered on 15 Nov 2018, 08:18 PM

UPDATE:  Another option that may work is can I have a different footer on the very last page?

Thanks,

Dan

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 16 Nov 2018, 02:15 PM
Hello, Dan, 

GridViewPdfExport object utilizes the powerful RadPdfProcessing library and exports RadGridView`s data natively to the PDF format. Once the grid is exported, you can load the produced pdf by using the PdfFormatProvider. The result from the import method is a RadFixedDocument, which can be used like any code-generated document. Then, you can render any text/logo on each page simulating headers\footers. The following blog post will give you getting started experience with the RadPdfProcessing library: https://www.telerik.com/blogs/getting-started-with-radpdfprocessing-in-telerik-ui-for-winforms

I hope this information helps. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Dan
Top achievements
Rank 1
Answers by
Dan
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or