Hi All,
I developed a report using telerik Q1 2008. Now I want to add a subreport to this report using the NeedDataSource event of the subreport. the code on this forum uses something similar to following:
I developed a report using telerik Q1 2008. Now I want to add a subreport to this report using the NeedDataSource event of the subreport. the code on this forum uses something similar to following:
1 SubReport subReport = (SubReport)sender;
2 (DataRowView)subReport.DataItem
But, SubReport does not have a definition for DataItem. So it results with a compilation error.Can anyone send me the code snippet to set the Datasource of the subreport.
Thanks.