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

TOC in a subreport

3 Answers 29 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Pinkesh
Top achievements
Rank 1
Pinkesh asked on 06 Jan 2017, 04:57 PM

I read http://docs.telerik.com/reporting/table-of-contents, but still have trouble implementing TOC in a sub-report.

 

I have a report with multiple sub-reports, one of which is the TOC. I have set the TocText of each of these sub-reports, however none of them showed up in the TOC subreport.

 

I just want an TOC that show all the subreports, so the user can click on the name and direct to the associated sub reports.

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 09 Jan 2017, 05:59 PM
Hi Pinkesh,

Please check How to: Add a Report Item to Table of Contents and the attached demo project.

The report is bound a to list of string, that contains the assembly qualified names of sub reports. In the report's Detail section there is a SubReport item, which ReportSource is configured to display the corresponding sub report. The SubReport item's TocText is set via expression.
The project uses Telerik Reporting R3 2016 SP1 v10.2.16.1025 that can be changed by running the Upgrade Wizard.


Please compare the settings to yours, and if you need further help open a support ticket and send us a demo project that reproduces the problem.

Regards,
Stef
Telerik by Progress
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
Pinkesh
Top achievements
Rank 1
answered on 09 Jan 2017, 06:40 PM

I know how to do that already. My question is my TOC is in a subreport on its own, the report item that it should display isnt inside it, but on the parent's.

i.e. My main report contains multiple subreports, one of which is this TOC subreport. And in the TOC subreport I want it to display all the subreports that is in the main report. Does that make sense?

0
Stef
Telerik team
answered on 10 Jan 2017, 04:51 PM
Hello Pinkesh,

The TOC feature is a section that can be added to a report. The section will display information about the current report's items which TocText properties are set.

In a consecutive official release, the TOC will be available for a ReportBook and all of its reports. Then you will be able to gather reports as separate reports in a ReportBook, instead of using SubReport items.


If I am misunderstanding the issue, please open a support ticket and send us a demo project that illustrates the current settings, and images of the expected result.

Regards,
Stef
Telerik by Progress
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
Report Designer (standalone)
Asked by
Pinkesh
Top achievements
Rank 1
Answers by
Stef
Telerik team
Pinkesh
Top achievements
Rank 1
Share this question
or