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

Load footer from trdp file at runtime

3 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Iron
Alexander asked on 27 May 2016, 09:54 AM

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?

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 31 May 2016, 12:17 PM
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
0
Alexander
Top achievements
Rank 1
Iron
answered on 31 May 2016, 02:22 PM

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

0
Stef
Telerik team
answered on 31 May 2016, 04:12 PM
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
Tags
General Discussions
Asked by
Alexander
Top achievements
Rank 1
Iron
Answers by
Stef
Telerik team
Alexander
Top achievements
Rank 1
Iron
Share this question
or