I am doing reporting using a business object. The business object has sub-collections that I want to include in the report.
I used to do this to get to the raw data:
This no longer works in Telerik Reporting 2010 Q1. What the best way to get to the raw data object?
Brad
I used to do this to get to the raw data:
Private Sub Table1_NeedDataSource(ByVal sender As Object, ByVal e As System.EventArgs) Handles Table1.NeedDataSource |
Dim tab1 As Telerik.Reporting.Processing.Table = DirectCast(sender, Telerik.Reporting.Processing.Table) |
Dim idata1 As Telerik.Reporting.Processing.IDataObject = DirectCast(tab1.DataObject, Telerik.Reporting.Processing.IDataObject) |
Dim obj1 As myobject = DirectCast(idata1.RawData, myobject) |
' |
tab1.DataSource = obj1 |
End Sub |
This no longer works in Telerik Reporting 2010 Q1. What the best way to get to the raw data object?
Brad
UPDATE: Looks like this is already reported as issue 1318 and I see a workaround another post on this same issue. I will try the workaround until there is a better method.