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

Telerik Subreport for each line item

2 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 23 Jun 2009, 01:17 PM
I am using Linq to SQL to populate generic non LINQ classes to display report data.  I created a method to return a List<T> of the class to the Report Datasource in the report constructor.  I also have a subreport in the details section of my report where I want to populate with data related to each line item of the main report.  The problem is the NeedDataSource is only called once and results in the first line item contains nothing in the subreport and every line item after that has data from the first line item.

My question is, how do I get a subreport in the details section to contain data related to its containing line item?

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 23 Jun 2009, 01:26 PM
Hello Justin,

Please review the following forum thread that elaborates on the matter.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Justin
Top achievements
Rank 1
answered on 23 Jun 2009, 01:46 PM
The 3rd option in that thread was what I needed, thank you for your assistance.
Tags
General Discussions
Asked by
Justin
Top achievements
Rank 1
Answers by
Steve
Telerik team
Justin
Top achievements
Rank 1
Share this question
or