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

Page Break Issue

2 Answers 159 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcus Kellermann
Top achievements
Rank 1
Marcus Kellermann asked on 24 Apr 2011, 04:25 AM
I'm having a problem with Page Breaks.

I have a MasterReport which is simply an empty report that contains a standard Header, Footer that I want to use on all reports and maintain in only one location.  The master report has a subreport object on it.

I then dynamically bind reports to the subreport at run time inside of the ASPX page.

When the reports are rendered and or exported the paging isn't honored.   If I just render the sub reports directly then the paging is done correctly.

I have the subreport inside the Detail Section on the Master Report(See reportexplorer.png).  The subreport has a subreport as well.  Its report explorer is shown as well.  I've also included images of the two renderings. The correct rendering is when the subreport is bound to the viewer directly.   the incorrect rendering is when the master is bound to the viewer.

Thanks
  Marcus

2 Answers, 1 is accepted

Sort by
0
Shannon
Top achievements
Rank 1
answered on 26 Apr 2011, 07:08 PM
Any resolution to this? I have the exact same issue.
0
Peter
Telerik team
answered on 27 Apr 2011, 04:28 PM
Hello Shannon,

This behavior is by design because the web report viewer uses HTML rendering extension to render the report. As HTML rendering is not page oriented the web report viewer pages logically the report and doesn't split report items. Thus the sub report can't be spitted to multiple pages and will render in one page no matter it's height. If you are after a page orientated report our suggestion is to utilize the Silverlight report viewer or export to the desired format directly without using a viewer.

Best wishes,
Peter
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
Tags
General Discussions
Asked by
Marcus Kellermann
Top achievements
Rank 1
Answers by
Shannon
Top achievements
Rank 1
Peter
Telerik team
Share this question
or