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

Divide the report into multiple pages

1 Answer 612 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 1
Denis asked on 21 Jun 2016, 01:09 PM
I have a report on the 1000 records.I want to single page display only 10 records, that would eventually get 100 pages and the ability ti use NextPage() and PreviousPage in HTML5 Report Viewer. What wais are there?

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 22 Jun 2016, 12:37 PM
Hello Denis,

You can display the report on multiple pages by turning the Print Preview mode of the report viewer on. This will force the report to be paged according to the Report.PageSettings properties. The Print Preview mode can be enabled from the report viewer's toolbar or programmatically by setting the respective option of the report viewer widget: viewMode: telerikReportViewer.ViewModes.PRINT_PREVIEW.

To print exactly 10 records on each page, you will need to implement conditional page breaks in the report. This approach is demonstrated in the attached sample report.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Denis
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or