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

Report Template question

5 Answers 142 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 04 Dec 2010, 06:22 PM
One of my developers is working on converting a number of existing reports (~100) for a web application. The reports require a consistent layout; logo, font styles, header layout, footer layout, margins, etc.

What we'd like to do is create a report template, then base all reports on that template; it should be possible to make modifications only to the template (or at least only in a single location) and have those changes propagated through all reports. The reports use different data sources, and will vary in terms of grouping levels and content, but we'd like to keep the overall appearance consistent.

Is this possible? If so where do we start?

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 06 Dec 2010, 01:46 PM
Hello Derek,

Check out the following forum thread for more information on the matter: Report Inheritance.

Kind regards,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Derek
Top achievements
Rank 1
answered on 06 Dec 2010, 02:07 PM
That's very helpful, thanks.

Is it possible to define styles in the base report, and then use them in derived reports as well? Before we head down this road, I'm trying to make sure that this approach is manageable, and the goal is to have everything in the base report except the data and embedded structure.
0
Steve
Telerik team
answered on 07 Dec 2010, 06:44 PM
Hi Derek,

Telerik Reports are standard .NET classes so their inheritance works in the same way - everything that is part of the class would be part of the derived reports including the styles. If you have encountered a problem, please elaborate on it, so we can test and advise you. The only known issue so far is that the report designer of the derived reports does not work correctly, which is not that big obstacle, as you can inherit from the base class after you've designed it.

Greetings,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Derek
Top achievements
Rank 1
answered on 08 Dec 2010, 12:50 AM
We've been through the example, but it's still far from clear.

Do you have an example where the derived report displays some form of data?

Our thinking is that we would use the base report to control the layout and appearance, but each individual report will have unique content, datasources, perhaps differing grouping levels, etc. Is all that possible?
0
Derek
Top achievements
Rank 1
answered on 08 Dec 2010, 02:24 AM

** Scratch that request; I found some more documentation and have answered my own question. **

We needed to remove the detail section from the base report, and remove everything EXCEPT the detail section from the inherited report. It's working fine. I'm excited!
Tags
General Discussions
Asked by
Derek
Top achievements
Rank 1
Answers by
Steve
Telerik team
Derek
Top achievements
Rank 1
Share this question
or