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

Can sub-reports be dynamically included programmatically?

1 Answer 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 01 Apr 2013, 11:55 PM
I would like to break my report into reusable "pieces" along the lines of reusable components for code. Ideally, I would like to have a library of report components that are assembled to create the final report. I would like to determine which sub-reports are included in the final report at report generation time based upon data values.

Essentially, this would be a "data-driven" report whose content would vary based upon user entered data on a web page. I would estimate the need for 25-30 report "pieces" per report.

Any insights into whether the Telerik Reporting tool can achieve this requirement appreciated.

1 Answer, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 04 Apr 2013, 10:24 AM
Hi Chris,

You can easily add subreports to your main report via the designer and the limit is only the machine , i.e. you can add as many subreports as you want as long as the computer is able to process and render all the data.

Regarding the programmatic control of the items in a report - with Telerik Reporting you can do with code everything you can do in the designer. In your case adding a subreport to an existing report can require from your side only a couple of lines of code (depending on your scenario). Additionally you can dynamically control the layout of your report via Conditional Formatting and Bindings and you can vary the data and presentation of your report using Report Parameters.

I hope that helps.

Kind regards,
IvanY
the Telerik team

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

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