Nested SubReports ReportSource.DataSource does not exist

6 posts, 0 answers
  1. Steffen
    Steffen avatar
    4 posts
    Member since:
    Feb 2013

    Posted 18 Feb 2013 Link to this post

    Hi there,

    using the standalone report Designer to create trdx report, the often
    in C# described method  will not work fpr TRDX based subReports!

    an error has occurred while processing subreport 'subreport2':
    Bindings rror Property 'DataSource' does not exist.

    everbody knows, in C# way, it works like:
    this.subReport1.Bindings.Add(new Telerik.Reporting.Binding("ReportSource.DataSource""=ReportItem.DataObject.Persons"));

    but using the Standlone Designer (TRDX file), for the binding, he cannot find DataSource ?
    ...
            <SubReport Name="subReport2">
              <ReportSource>
                <UriReportSource Uri="ReportLines.trdx">
                </UriReportSource>
              </ReportSource>
              <Bindings>
                <Binding Path="ReportSource.DataSource" Expression="=Fields.Lines" /> ----- .DataSource is not found
              </Bindings>
            </SubReport>
    ...
    thank you for helping
    Steffen

  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 21 Feb 2013 Link to this post

    Hi Steffen,

    With the introduction of the XML report definition the reports can exist not only as CLR types and objects in the memory but as XML markup stored in different ways (file, database, etc.). As we do not want to limit the users to work with only objects or files the need for a unified way for referencing reports in the applications emerged - Report Sources. As you see the naming matches the old ReportSource property of the SubReport item, however the new ReportSource does not have a DataSource property.

    You can see how to handle binding of the SubReport with the introduced changes in the following forum thread.

    Regards,
    Steve
    the Telerik team
     

    See what's new in Telerik Reporting Q1 2013. Register for the March 4 webinar to witness the impressive new visualizations in Telerik Reporting. Just for fun, 10 webinar attendees will be randomly selected to win a Telerik T-shirt and a $50 Gift Certificate to ThinkGeek. Register now! Seats are limited!

     
  3. Jonathan
    Jonathan avatar
    11 posts
    Member since:
    Dec 2017

    Posted 03 Jun in reply to Steve Link to this post

    current link: https://docs.telerik.com/reporting/report-sources
  4. Silviya
    Admin
    Silviya avatar
    354 posts

    Posted 04 Jun Link to this post

    Hello Jonathan,

    Thank you for the input! The link has been updated.

    Best Regards,
    Silviya
    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
  5. Jonathan
    Jonathan avatar
    11 posts
    Member since:
    Dec 2017

    Posted 04 Jun in reply to Silviya Link to this post

    Hi Silviya. You're welcome and I'm glad you were able to update the link! How do I post a question on the forum?
  6. Silviya
    Admin
    Silviya avatar
    354 posts

    Posted 05 Jun Link to this post

    Hi Jonathan,

    You can post a new question by navigating to https://www.telerik.com/forums/reporting/telerik-reporting and click on the "New thread" button.

    Best Regards,
    Silviya
    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