I have a lot of reports developed using Q3 2009 version of telerik reporting. Before developing new reports, we want to ensure that the existing reports work as they used to after upgrading to latest version of telerik reporting. But all the reports which use subreport fail compilation with the error: 'DataItem' is not a member of 'Telerik.Reporting.Processing.SubReport'.
All the reports use objectdatasource.
Private Sub SubReport1_NeedDataSource(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SubReport1.NeedDataSource
Dim subReport As Telerik.Reporting.Processing.SubReport = DirectCast(sender, Telerik.Reporting.Processing.SubReport)
subReport.InnerReport.DataSource =
DirectCast(subReport.DataItem, System.Data.DataRowView)("subreportList")
End Sub
Please suggest what needs to be done here so that I can quickly fix these existing reports and then move to development of new reports
Thanks in advance