Report Template question

6 posts, 0 answers
  1. Derek
    Derek avatar
    118 posts
    Member since:
    Oct 2008

    Posted 04 Dec 2010 Link to this post

    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?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Dec 2010 Link to this post

    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.
  3. DevCraft banner
  4. Derek
    Derek avatar
    118 posts
    Member since:
    Oct 2008

    Posted 06 Dec 2010 Link to this post

    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.
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 07 Dec 2010 Link to this post

    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.
  6. Derek
    Derek avatar
    118 posts
    Member since:
    Oct 2008

    Posted 07 Dec 2010 Link to this post

    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?
  7. Derek
    Derek avatar
    118 posts
    Member since:
    Oct 2008

    Posted 07 Dec 2010 Link to this post


    ** 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!
Back to Top
DevCraft banner