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

One header to all reports

1 Answer 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wilton
Top achievements
Rank 1
Wilton asked on 01 Jul 2013, 01:36 PM
Hi.

Is it possible to have one header and use it to all my reports?

The idea is to maintain just one header.

In this header I will need to show page number.

Just a part of the header will change for each report. Is it possible to have a dynamic part of the header, maybe like a subreport?

Best regards,

Wilton Ruffato Wonrath

1 Answer, 1 is accepted

Sort by
0
Accepted
IvanY
Telerik team
answered on 04 Jul 2013, 09:06 AM
Hello Wilton,

You can easily achieve this task by creating the report or page header manually first, using the designer. Then you can check the code generated in InitializeComponent - you will get a better idea how the items and sections are created behind the scenes. Then you can use code snippets from the InitializeComponent method to create your own code snippet that will create the desired header - you can wrap it in a method for example. Finally you can invoke that method after InitializeComponent in all reports that need this functionality.

The part that will change dynamically can be controlled both programmatically or with subreport (or you can use both at the same time).

Regards,
IvanY
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Wilton
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Share this question
or