Load footer from trdp file at runtime

4 posts, 0 answers
  1. Alexander
    Alexander avatar
    22 posts
    Member since:
    May 2016

    Posted 27 May Link to this post

    Hallo i'm new In teleric report framework.

    I make an Invoice  as proof of concept in telerik report.

    Is it posible to insert a footer, a header or a subreport for customization for ouer customers?

  2. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 31 May Link to this post

    Hello Alexander,

    It is recommended to design reports with the available Report Designers. If you need to update content in the report, you can use a SubReport item.

    The SubReport item's ReportSource can be set via expression in a binding to the SubReport.ReportSource property, or in the 'Select a Report' text box in the 'Load Report' dialog. If you are using the Standalone Report Designer, any user functions must be built in an external assembly that extends the tool - Extending Report Designer.


    If you need to modify reports at run-time, TRDP files can be unpackaged and you will have a Telerik.Reporting.Report instance with all settings applied through the designer. This will let you modify the existing report's Items collection and to add new elements like sections and reporting items.
    The recommended approach is to design the layout with a VS Report Designer, and to re-use the code generated in the report's designer.cs(vb) file.


    Let us know if you have any further questions.

    Regards,
    Stef
    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
  3. DevCraft banner
  4. Alexander
    Alexander avatar
    22 posts
    Member since:
    May 2016

    Posted 31 May in reply to Stef Link to this post

    Thank you for your answer!

    All I need, is to set footer/Header section  from file.

    There is some custommer specific information like logo or banc connection. Block of static Information is static for each customer but can be quite different in its presentation.

    So its should be nice, if we could change this part without need to support one report asssembly for each ouer custommer. But using build in features like report localization and integration in ouer class structure.

    thank you for help i'l try the laoding of trdp files out

  5. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 31 May Link to this post

    Hi Alexander,

    User functions are suitable if the layout will not be changed - only text and images must be changed. This can be combined with conditional formatting and/or bindings to items' properties, in order to show/hide items. Items will move based on the Design Considerations for Report Item Layout.

    Run-time modifications of reports are also suitable if the layout must be changed entirely. Instead of relying on the expression engine, you can directly update the report definition in code.

    Regards,
    Stef
    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
Back to Top