I tried to put a sub report in a list of 3 items, but the subreport only took the information from the first item and repeated for 3 times.
Im not sure what I have missed. Could you provide me an sample project to help me set it up? Much appreciated!
Regards,
Bill
7 Answers, 1 is accepted
This is a known issue that is logged in our bug tracking system. However there is an easy workaround, just add a Panel item between the List's cell and the Subreport item (List Cell->Panel->SubReport) This way you will force the Subreport to get the required data from the correct scope.
All the best,Peter
the Telerik team
I tried the workaround, but it didn't worked for me. I also tried with the table cells and it didn't work as well.
Regards,
Bill
In order to further investigate the cause for the described behavior we will need a sample project. Thus, we will appreciate if you open a support thread and send us a sample runnable project to debug locally.
All the best,Peter
the Telerik team
Thanks for your response.
I have resolved this issue by create a new property to return the context object. then bind the list to that property.
Regards
Bill
I have a similar problem, using 2012 Q3. I have a list bound to Product types in the master report. The subreport is in the list and the ProductId property is passed as parameter. The subreport only seems to get the ProductId of the first Product and repeats that.
Is using parameters (integer IDs) the right way to solve this? Is there a possibility to pass complex types to the subreport?
Roland
Have you tried to add a Panel item between the List's cell and the Subreport item (List Cell->Panel->SubReport) This way you will force the Subreport to get the required data from the correct scope?
All the best,Peter
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
The List's cell is already a panel item as I saw. But tried with one more panel inbetween reading previous posts, but didn't help.
Finally I solved the problem setting the datasource of the subreport programatically.
Regards,
Roland