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

paging inconsistency between viewing a report and exporting to PDF

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark DeMichele
Top achievements
Rank 1
Mark DeMichele asked on 23 Sep 2009, 09:58 PM
Hi there,

I have the following group structure:

Group A - KeepTogether = true
    Group B - KeepTogether = false
        Group C - KeepTogether = false

Data for a given instance of Group A exceeds a single page. So if I'm viewing an instance of Group A data (which can contain several nested layers of Group B and C data), the data for all of the Group A data in that instance is present on a single page, which seems to be incorrect. Subsequent instances of Group A data occur on separate pages, which seems to be expected behavior.

As an example, I just produced a report with 3 instances of Group A data. In the viewer, this data is displayed as three long pages containing each instance of Group A data in its entirety. When I export to PDF, each instance of Group A data is split across 3-4 pages, for a total of 10 pages. The footer is replicated correctly with differing page numbers (1-10) on each page.

Also, curiously, if I were to print straight from the viewer by clicking the Print button, the viewer correctly supplies the default pages 1-10 in the "Pages" text box, and 10 pages are printed without changing any of the settings.

Any ideas what could be happening? It just seems a bit odd that 3 pages instead of 10 are shown in the viewer, but on paper and for exporting, the 10 pages are rendered as one would expect.

I'm using Q1 2009.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 24 Sep 2009, 01:42 PM
Hi Mark,

This is the expected behavior as HTML and PDF rendering have their own peculiarities and limitations, the most important of all being that HTML has no concept of physical page, while the PDF is obviously a page oriented format. Report sections and groups are kept together in HTML by design and that is the reason for these being a single long page. Printing of the report through the viewer is actually exporting to PDF internally and then using the Adobe PDF plugin for handling the printing of the exported PDF.
Detailed information on all supported export formats in Telerik Reporting is available in the Design Considerations for Report Rendering help section.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Mark DeMichele
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or