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

Unwanted Page Break when too many subreports. Why?

3 Answers 151 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dany
Top achievements
Rank 1
Dany asked on 17 Feb 2011, 10:12 PM
Hi,

I have a report structure that looks like this :

Main Report (Grouped by clients with a group header)
-- Calls (sub report in the main report details, grouped by idCall with a group header)
-- -- Work Entry Source 1 (sub report in the Calls details)
-- -- Work Entry Source 2 (sub report in the Calls details)
-- -- Work Entry Source 3 (sub report in the Calls details)

For some reason I get a page break just before the Calls sub report for each client, so before the detail part of a client. But if I put either one of my sub reports to visible = false (1 to 3 out of 3), the page break isn't there (which is what I would like to happen).

I verified all "PageBreak" properties are set to 'None'. There is not enough data to cause a page break, but I set the keep together property to false for almost everything. Is there something else that could cause this kind of behavior or would it be a bug? (it's probably that doesn't know how to use the product, we bought it 1 week ago)

Thanks a lot

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Feb 2011, 10:50 AM
Hello Dany,

Th default report item's KeepTogether property is set to True and if the item (SubReports) can't fit on the current page, the report engine tries to render it on the next page. Thus a Page Break occurs and our suggestion is to set the KeepTogether = False on all relevant items(SubReports) the may not fit on a single page.

Regards,
Peter
the Telerik team
0
wang zhong
Top achievements
Rank 1
answered on 19 Jan 2012, 07:37 AM
HI Peter
I set all relevant report's KeepTogether = False
But the issue still happen.

Thanks
0
wang zhong
Top achievements
Rank 1
answered on 19 Jan 2012, 08:40 AM
My version is 4.0.10.317.
Tags
General Discussions
Asked by
Dany
Top achievements
Rank 1
Answers by
Peter
Telerik team
wang zhong
Top achievements
Rank 1
Share this question
or