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

Blank Pages

3 Answers 1209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 01 Aug 2016, 11:13 AM

Hello. I have a really long detail section containing mostly textboxes and tables, but most of the fields have some visibility rules. However, only like half of the fields are usually visible in a single report. When exported to pdf, every other page is blank (ofc with header and footer) and there are some blank pages in the end as well. Every report creates the same amount of pages. This is probably related to the height of the detail section. I have read many forum threads as well as http://www.telerik.com/support/kb/reporting/details/problem-telerik-reporting-renders-blank-pages but I am still not able to solve this problem. The detail section has "KeepTogether" set to false. Is there any solution to this problem?

Thank you

3 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 01 Aug 2016, 01:39 PM
Hello Jan,

If the total height of Detail section is larger than the physical height of the page this might cause the blank pages.
Container items (sections, Panel) cannot shrink when the actual height of inner content is smaller than the container's height you set in the designer.
Also, check KeepTogether properties of other report items/sections and set it to False.

More details regarding rendering and paging mechanisms are available in the following help article:
  - Understanding Rendering Behaviors
  - Understanding Pagination

On the side note, the ability to occupy the empty space (CanShrink property) was introduced in our latest R3 2016 Beta 1 release. You can give it a try by downloading it from your Telerik account (Downloads -> Reporting ->  Latest beta).


If the issue persists please attach a problematic report in a support ticket so we can check the settings and provide you further suggestions.


Regards,
Katia
Telerik by Progress
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
0
Jan
Top achievements
Rank 1
answered on 26 Aug 2016, 01:45 PM

Hello. So it is almost solved, however, when there is a shorter report, there is still a blank page in the end. Every single item in the report has KeepTogether set to false. I havent tried the latest realese yet, but is there any other solution to this problem?

Tanks :)

0
Katia
Telerik team
answered on 29 Aug 2016, 10:14 AM
Hello Jan,

Most likely, the blank page appears because the report's height is larger than the physical page. Test to resize / rearrange the items within the sections to see if it can prevent the page break.
Also, check PageBreak property of the sections.

To provide you more accurate suggestions please share the report definition so we can see the exact settings.


Regards,
Katia
Telerik by Progress
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
Jan
Top achievements
Rank 1
Answers by
Katia
Telerik team
Jan
Top achievements
Rank 1
Share this question
or