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

Hiding blank pages caused by some sections being wider than others

1 Answer 154 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
J
Top achievements
Rank 1
J asked on 07 Aug 2015, 03:44 PM

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  :)   )

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 11 Aug 2015, 02:32 PM
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
Tags
General Discussions
Asked by
J
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or