We were using a fairly simple method to assign DataTables as SubReport DataSources, so that a report with multiple sub-reports can be given data as a result of a single database call.
I updated to the 2012 Q2 release in order to get the PageCount bug fix, and now this approach no longer works. I'm seeing references to new ReportSource sub-types, but I haven't found one which seems to allow for this sort of approach. Can anyone help me out?
Note: We are using the same method for assigning DataSources for Crosstabs and Tables, and that appears to still work.
foreach
(Telerik.Reporting.SubReport item
in
ReportLib.ReportBase.GetDescendantsByType(
this
.Report,
typeof
(Telerik.Reporting.SubReport)))
{
item.ReportSource.DataSource = ds.Tables[ReportLib.ReportBase.GetDataSetIndex(item.Name)];
}
I updated to the 2012 Q2 release in order to get the PageCount bug fix, and now this approach no longer works. I'm seeing references to new ReportSource sub-types, but I haven't found one which seems to allow for this sort of approach. Can anyone help me out?
Note: We are using the same method for assigning DataSources for Crosstabs and Tables, and that appears to still work.