Hello,
Here is my problem. I have to do a report who displays delivery order.
This delivery order is on multiple pages.
For each page, i should display something like this :
Page 1 of 2
Page 2 of 2
Page 1 of 1
Page 1 of 3
Page 2 of 3
...
My question is, how could i do to obtain this result ?
Resetting the PageNumber ?
How can i know at runtime the total page number of my delivery order ?
Thanks a lot.
Here is my problem. I have to do a report who displays delivery order.
This delivery order is on multiple pages.
For each page, i should display something like this :
Page 1 of 2
Page 2 of 2
Page 1 of 1
Page 1 of 3
Page 2 of 3
...
My question is, how could i do to obtain this result ?
Resetting the PageNumber ?
How can i know at runtime the total page number of my delivery order ?
Thanks a lot.
5 Answers, 1 is accepted
0
Hi Kevin,
There are two approaches you can take:
Greetings,
Steve
the Telerik team
There are two approaches you can take:
- filter your delivery order data and generate separate report for each order. Then use the Report Book functionality to "join" the reports as a single document. The PageNumberingStyle enumeration allows you to reset the page number and page count, see Report Book Paging for more info.
- group your data by delivery order and reset the page number per group. For more info refer to Reset PageNumber per Report Group blog post. Note that you would not be able to reset PageCount in this case.
Greetings,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Kevin
Top achievements
Rank 1
answered on 13 Apr 2012, 11:28 AM
Thanks for your answer Steve, I'll choose the Report Book functionality ;)
After reading the documentation, i understand the principle of this functionality.
But I don't understand how to put it in place in my solution.
Should I create a new class and extend it ?
Greetings, Kevin
After reading the documentation, i understand the principle of this functionality.
But I don't understand how to put it in place in my solution.
Should I create a new class and extend it ?
Greetings, Kevin
0
Hello Kevin,
Creating a new class that inherits from Telerik.Reporting.ReportBook seems like the most feasible way to go about it.
Kind regards,
Steve
the Telerik team
Creating a new class that inherits from Telerik.Reporting.ReportBook seems like the most feasible way to go about it.
Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
siva
Top achievements
Rank 1
answered on 02 Feb 2016, 01:15 PM
Hi Steve,
Can you share a sample project using Report Book. I am facing trouble to use in the project.
0
Hello siva sha,
A Report Book sample is available in the Telerik Reporting installation folder e.g.:
C:\Program Files (x86)\Telerik\Reporting Q1 2016\Examples\CSharp\ReportLibrary\ReportBook
Also, you can check the Reset PageNumber per Report Group blog post which provides a different way to approach the scenario.
Regards,
Nasko
Telerik
A Report Book sample is available in the Telerik Reporting installation folder e.g.:
C:\Program Files (x86)\Telerik\Reporting Q1 2016\Examples\CSharp\ReportLibrary\ReportBook
Also, you can check the Reset PageNumber per Report Group blog post which provides a different way to approach the scenario.
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