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

3 posts, 0 answers
  1. Dan
    Dan avatar
    9 posts
    Member since:
    Jun 2012

    Posted 15 Nov 2018 Link to this post

    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. Dan
    Dan avatar
    9 posts
    Member since:
    Jun 2012

    Posted 15 Nov 2018 in reply to Dan Link to this post

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

    Thanks,

    Dan

  3. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3895 posts

    Posted 16 Nov 2018 Link to this post

    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.
Back to Top