When exporting to pdf, aggregate row is appearing on a new page

3 posts, 0 answers
  1. Daniel
    Daniel avatar
    8 posts
    Member since:
    Sep 2017

    Posted 04 Jan 2018 Link to this post

    Hello. When I am exporting to PDF, the aggregate row is displaying on a new page though there is space in the previous page. See attached file.

    The settings for generating the pdf are as follows:

                  .Pdf(pdf => pdf
                  .Margin("30mm", "10mm", "30mm", "10mm")
                  .FileName("Combined Summary Report.pdf")
                  .ProxyURL(Url.Action("Pdf_Export_Save", "CombinedSummaryReport"))


    I have tried changing the values for the top and bottom margins, but then some records are not displaying.

    Any help will be much appreciated.



  2. Stefan
    Stefan avatar
    2950 posts

    Posted 05 Jan 2018 Link to this post

    Hello, Daniel,

    Thank you for providing the PDF.

    The observed result occurs because the paper size "A4" has fixed dimensions and if the content does not fit, it will be displayed on the next page.

    In this scenario we can suggest using the page-break property of the PDF export which will allow breaking the page content using custom logic to better fit the scenario and the requirements:


    I hope this is helpful.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Daniel
    Daniel avatar
    8 posts
    Member since:
    Sep 2017

    Posted 16 Jan 2018 in reply to Stefan Link to this post

    Thanks Stefan. I will try to use the page-break property.
Back to Top