Blank Spaces on Report Page due Table

2 Answers 38 Views
.NET Framework Report Viewer - MVC
Arslan
Top achievements
Rank 1
Iron
Arslan asked on 02 Nov 2021, 02:19 PM

I want to remove these space when column ends next column should start and cut text for other page please tell me solution

2 Answers, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 05 Nov 2021, 08:57 AM

Hello Arslan,

The solution you have found is valid. It may be limited though to some scenarios only.

Note that the report items expose a property named "KeepTogether". Its purpose is to force the Reporting engine to keep the item content as a whole on the same page. The default KeepTogether value is True. When KeepTogether is False, the Reporting engine will start rendering the content on the current page no matter whether it will fit entirely.

When you use Table, make sure to set both the Table's KeepTogether and the TextBox or other items inside the table cells property to False. This would force the content to be rendered filling the entire page.

Regards,
Todor
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/.
Arslan
Top achievements
Rank 1
Iron
commented on 19 Nov 2021, 07:53 AM | edited

I have Resolved this issue as you said but after that I faced another please tell me the solution this issue is only on some reports i don't understand why this happning please check screenshots on first page it show me just uper things and when table start it goes to next page

https://drive.google.com/file/d/1XHSSO4x8yQop2z2V8tpzoJl02zK-LMd6/view?usp=sharing

here is pdf

Todor
Telerik team
commented on 23 Nov 2021, 12:41 PM

If I understood correctly, the initial part of the report is displayed on the first page, and then the table starts from the second page, leaving lots of whitespaces.

This may happen if the table or section/container that contains it has KeepTogether = True and the table cannot fit on the first page but fits entirely on the second page. Another possibility is the section prior to the Table to have its PageBreak set to After.

Can you send a runnable report (with sample data) for local investigation so that we can investigate further?

0
Arslan
Top achievements
Rank 1
Iron
answered on 04 Nov 2021, 09:20 AM
I have resolve this problem by pagesetting in telerik report by changing page dimentions
Tags
.NET Framework Report Viewer - MVC
Asked by
Arslan
Top achievements
Rank 1
Iron
Answers by
Todor
Telerik team
Arslan
Top achievements
Rank 1
Iron
Share this question
or