Hello
We just converted to this version of Telerik and are having problems with all of our reports that use subreports.
I have looked at several options that people have suggested but so far no luck.
Can someone please help?
Here is the code that we are using --
We set SubReportDS with
MainReport report1 = new MainReport();
report.SubReportDS = MyData;
and define SubReprtDS with --
public object SubReportDS
{
set {
MainReport report1 = new MainReport();
We just converted to this version of Telerik and are having problems with all of our reports that use subreports.
I have looked at several options that people have suggested but so far no luck.
Can someone please help?
Here is the code that we are using --
We set SubReportDS with
MainReport report1 = new MainReport();
report.SubReportDS = MyData;
and define SubReprtDS with --
public object SubReportDS
{
set {
MainReport report1 = new MainReport();
Telerik.Reporting.SubReport subReport1 =
(Telerik.Reporting.SubReport)report1.Items.Find("subReport", true)[0];
Telerik.Reporting.InstanceReportSource =
(Telerik.Reporting.InstanceReportSource) subReport1.ReportSource;
Telerik.Reporting.Report sub2 = (Telerik.Reporting.Report)irs.ReportDocument;
sub2.DataSource = value;
}
}
The end result of this is a report that contains that main section which is populated. It also
subReport sections but none of the subReport sections have data in them.
Any help will be appreciated.
Thank you - Raka.