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

Nested SubReports ReportSource.DataSource does not exist

5 Answers 338 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steffen
Top achievements
Rank 1
Steffen asked on 18 Feb 2013, 01:57 PM
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

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 21 Feb 2013, 01:44 PM
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!

 
0
Jonathan
Top achievements
Rank 1
answered on 03 Jun 2019, 04:16 PM
current link: https://docs.telerik.com/reporting/report-sources
0
Silviya
Telerik team
answered on 04 Jun 2019, 06:43 AM
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
0
Jonathan
Top achievements
Rank 1
answered on 04 Jun 2019, 03:40 PM
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?
0
Silviya
Telerik team
answered on 05 Jun 2019, 06:43 AM
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
Tags
General Discussions
Asked by
Steffen
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jonathan
Top achievements
Rank 1
Silviya
Telerik team
Share this question
or