Hiding blank pages caused by some sections being wider than others

2 posts, 0 answers
  1. J
    J avatar
    8 posts
    Member since:
    Oct 2012

    Posted 07 Aug 2015 Link to this post

    I have a crosstab in a grouped report.   Because the crosstab width can vary between one and several pages wide depending on the current group value this means that when using Page layout mode or exporting to PDF I get lots of blank pages in the middle because although for most group values the crosstab is only a page or two wide in some groups it can be several pages wide and this is making each group print that wide.  The attached image probably explains this better.

    Is there a way to dynamically suppress the blank pages and alter the page numbering - basically in the attached screenshot  to hide the pages marked with a blue X ?   I'm assuming this is going to require code in the report itself.

    (If any examples could be in VB rather than C# that would be extra helpful  :)   )

  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 11 Aug 2015 Link to this post

    Hi J,

    The blank pages are result from the horizontal paging and cannot be removed - Understanding Pagination.

    I noticed that you have issues with the horizontal paging in general, thus my recommendation is to change the layout and increase the size per physical page to gather the whole report in width.


    I hope this information helps you.

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top