Subreport binding to parent report objectdatasource. Seeing the sub report, but there's no data in it

2 posts, 0 answers
  1. Ashith Rai
    Ashith Rai avatar
    2 posts
    Member since:
    Oct 2018

    Posted 25 Oct 2018 Link to this post

    Hi,

     

    I have a main report and 3 sub reports. I referred to the telerik documentation and the forum. I have a objectdatasource in the main report and the sub report relies on the parent datasource --> =MainReport.objectDataSource1. I have also set field value to =MainReport.objectDataSource1.FieldName in the subreport.

    The report loads successfully but there is no data. It's very frustrating and I have a spent of lot of time trying to resolve the issue.

    I will appreciate it, if you can please assist me with this. 

     

    Thanks,

    Ashith.

  2. Todor
    Admin
    Todor avatar
    250 posts

    Posted 30 Oct 2018 Link to this post

    Hi Ashith,

    I suspect that the sub report cannot find the assigned data source, hence the report gets rendered empty.
    The correct way to use data from the main report in the sub report is demonstrated in How to bind Sub Report to Main Report's Data KB article.

    Regards,
    Todor
    Progress 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
Back to Top