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

Height of subreport

3 Answers 228 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
VH
Top achievements
Rank 1
VH asked on 01 Apr 2011, 01:04 AM
Hi,

I have a master report contains random number of sub-reports, which are added to the master report dynamically at run time. If the whole report can be fit into one page, everything works fine. However, if it is longer than a page, the second report of page2 overlaps the first report. (See page2.png).

I suspect that is there are some gaps at the end of page1, because the first report in page2 cannot fit into the first page, but the second report in page2 doesn't take that into account, so ends up with wrong location?

Thank you for your help.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Apr 2011, 03:55 PM
Hello VH,

You should always specify Size and Location for any report item that you add programmatically. This way such problems would never occur. Additionally you might consider setting the KeepTogether=false to the subreport item and any sections inside the report it shows that might be longer than the master report height.

Greetings,
Steve
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
VH
Top achievements
Rank 1
answered on 12 Apr 2011, 01:11 AM
I do specified the size of the sub-reports, but I can't specify the location, as the length of each sub-report is different. Anyway, I tried set the location to a random number but it doesn't help.

I also tried setting KeepTogether= false to each sub-report, but it doesn't solve my problem. Currently none of sub-report by itself is longer than the master report.

Any other suggestions?
0
VH
Top achievements
Rank 1
answered on 12 Apr 2011, 04:56 AM
Tags
General Discussions
Asked by
VH
Top achievements
Rank 1
Answers by
Steve
Telerik team
VH
Top achievements
Rank 1
Share this question
or