I try to replicate our invoices in Telerik Report but I've got some problems with Header and Footer.
I'm searching in forum but I don't find a solution for my problem, afraid there's not.
Here's my problem :our invoice can have several pages. The header and footer of the first page are different from those to the next pages.
For the header, I think I've found a solution using ReportHeaderSection for the first page and PageHeaderSection with PrintOnFirstPage property to false. But for the footer, no solution, please help me.
I would really want to use telerik product for my company (because they are the best ;), so I need a solution.
Thanks for your help.
5 Answers, 1 is accepted
To achieve your goal, please use the Report Book feature, namely you can create a second report that would contain only the header and footer you need and when you combine this report with your actual one, it would act as first/title page.
Greetings,
IvanDT
the Telerik team
What is the solution for that case when the detail section does not fit into a single page and therefor you get a 2 page report, and on the second (and subsequent) pages you need to have a different footer. I am also using a report footer that needs to be after the detail section, so group footer is not a solution either.
Thanks.
Roland
If it is only a matter of report of two pages, then you can use report header/footer and page sections i.e.
1st page:
PageHeader is not shown - PrintOnFirstPage=false
Report Header
.....
PageFooter
2nd page:
PageHeader
.....
ReportFooter
PageFooter is not shown - PrintOnLastPage=false
Regards,
Steve
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
I've tried your solution, but even though the page header is not visible on the first page, it still takes up white space. Is there a way to completely disable it?
Additionally, it does not work for the footer, since the report footer cannot be "pushed" to the bottom of the page, and I need it to be there.
Isn't there a plan in the Telerik Reporting roadmap to include multiple page sections (Page Footer a, b, c...) like in Crystal, because otherwise these layouting issues will become very cumbersome to deal with (and the business does not really care how we solve it...)
Thanks and regards,
Roland
This behavior is by design (see Understanding Rendering Behaviors) and cannot be changed in the current version, but we have some changes in mind that could allow this to happen for subsequent version.
Kind regards,
Steve
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Hi Steve,
I came across the same issue which i am trying to resolve and wondering if we can have a multiple page footers in the report?
Regards
Tamer Ibrahim
Hi Tamer,
Generally, we support one Page Header and one Page Footer per Report. However, you may change their content with Conditional Formatting and Bindings. You may do this, for example, based on the PageNumber - see Page Functions, or other Expressions using the supported Global Objects.
Note that the Page Sections height may also vary, starting with version R1 2021 (15.0.21.120) - see the improvement 'Dynamic Height can be applied on page sections using Binding".