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

Page # on ReportViewer different than printed report

4 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David Jarrett
Top achievements
Rank 1
David Jarrett asked on 18 Jun 2010, 07:01 PM
When I display my report in the report viewer, it has several more rows than when I actually print or convert to PDF.  Is there some way I can make them the same?

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 21 Jun 2010, 12:16 PM
Hello David,

The subject of the forum thread is a bit contradicting to the thread's data itself. Can you clarify what is the exact problem - you see different number of pages in web viewer compared to the PDF file?
The number of data source rows is equal for all formats, so there should not be any differences there, while the number of pages might differ since the data processing and the paging are two separate processes and furthermore, each rendering extension has a different paging mechanism.
More information about the peculiarities of different supported formats is available in the Design Considerations for Report Rendering help section.

Best wishes,
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
David Jarrett
Top achievements
Rank 1
answered on 21 Jun 2010, 02:23 PM
What I was trying to say is that when I display my report in the report viewer, it shows several more rows on each page than when converted to a PDF document or printed from the Report Viewer.  See attached.


0
Steve
Telerik team
answered on 24 Jun 2010, 09:40 AM
Hello David,

As we have explained in our previous post, each rendering extension has different paging mechanism, additionally the line spacing in both formats is different.
The HTML one is meant to give you a representation of your report layout and data, but WYSIWYG effect is not what we have aimed at. That is why printing from the web viewer exports to PDF internally and invokes the PDF plugin to take care of the printing. The HTML format has no concept for physical pages and creates "logical" pages only, while page oriented formats (PDF, RTF, XPS, TIFF) respect the settings you have applied in the PageSettings properties of your report. The HTML format would "stretch" to fit all content placed in a single report section and thus a huge page can exist and this is all expected - more info in the Design Considerations for HTML Rendering help topic.

Sincerely yours,
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
David Jarrett
Top achievements
Rank 1
answered on 24 Jun 2010, 01:18 PM
Thanks Steve. Just wanted to make sure it was nothing I had coded wrong that was making it appear different. 
Tags
General Discussions
Asked by
David Jarrett
Top achievements
Rank 1
Answers by
Steve
Telerik team
David Jarrett
Top achievements
Rank 1
Share this question
or