Completed
Last Updated: 10 Nov 2022 17:27 by ADMIN
Release R3 2022 SP1
Joon-Sae
Created on: 28 Apr 2021 12:05
Type: Bug Report
2
When a report utilizes several levels of nested subreports with DataSources passed from parent to child subreport, the data is not transferred correctly
My report has 4 levels of nested subreports. Each child subreport receives its data from the parent with Binding to a data field from the parent report data source. This works correctly with versions 11.2.17.913 and 13.2.19.1030 but doesn't show the correct data with version 15.0.21.326. For details see the forum post Invalid subreport data when updating to latest telerik reporting version.
3 comments
ADMIN
Milen | Product Manager @DX
Posted on: 10 Nov 2022 17:26

Hi Joon-Sae,

I want to elaborate a bit on the issue and also announce its resolution:

First, the original issue appears because the used Binding to the property actually modifies the report definition (e.g., Property path: ReportSource.ReportDocument.DataSource, which is a smart workaround to directly pass data to the inner report). This however has stopped working with the introduction of an optimization of the definition properties' values reading back in 2016. Since then, for such a Binding that changes the definition to work as before, one needs to turn off this optimization using the respective configuration setting. However, we do not recommend turning off this optimization as it would impact performance. Note that this optimization can now be turned off on a single report level as well (see the referenced above article).

Second, the good news. Based on your approach we realized how useful it is to be able to pass data from the main report to the child report. That is why now, with release R3 2022 SP1 we introduce a DataSource property on the SubReport item. It allows passing data to the inner report either with a Binding like: Property path: DataSource, Expression: = Fields.Details or using any supported data source component. Please, give it a try. With this introduction, we consider this issue resolved.

Regards,
Milen
Product Manager for Progress Telerik Reporting & Progress Telerik Report Server

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
ADMIN
Neli
Posted on: 29 Jun 2021 06:41

Hi Joon-Sae,

The status of the item is still Unplanned. Basically, we prioritize the items based on the number of votes and some other aspects. Note that once there is an update on it, you will get a notification.

Regards,
Neli
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Joon-Sae
Posted on: 24 Jun 2021 16:07
Any updates on this being fixed?