Blank Page when using Landscape and A4 settings in the report

1 Answer 343 Views
Report Designer (standalone)
Nagasree
Top achievements
Rank 1
Iron
Nagasree asked on 23 Aug 2021, 12:30 PM

Hi Team,

I have created a report which will be generated with 3 pages of data in PDF format. I am getting report with 6 pages of data with alternate page blank when I use landscape and A4 page settings.

In potrait it is coming good but as data is more the page spilt into pages with half data in one page and half data in another page.

I am using version 10.2.16.914.

 

Please provide some help

Thanks,

Nagasree

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 26 Aug 2021, 06:48 AM

Hello Nagasree,

The pages are not actually blank. Rather, there is some content that cannot fit on the current page with that page settings and is carried over to the next page.

Usually, the reason for this is that a report item/section has its KeepTogether property set to true and the rendering engine attempts to render content on a single page (it is later that it "realizes" that this is impossible).

For example, if the first page contains the ReportHeader or another section, the rendering engine tries to render the detail on the second page, which has more available space.

Setting the KeepTogether property of the Section to false allows page breaks in the section. Reporting items and sections have KeepTogether properties, and groups have GroupKeepTogether property.

For more information, please see the Telerik Reporting renders blank pages KB article.

Note that in R1 2021 SP1(v15.0.21.224), we introduced a mechanism for not rendering blank pages in the report - Report.SkipBlankPages Property so you may consider upgrading to that version.

Please let us know if you have any other questions or need further assistance.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Designer (standalone)
Asked by
Nagasree
Top achievements
Rank 1
Iron
Answers by
Dimitar
Telerik team
Share this question
or