I have a report with a sub report on it. In order to set the data source of the sub report I use the SubReport_ItemDataBinding event as shown below.
private void SummarySubReport_ItemDataBinding(object sender, EventArgs e)
{
DataView dv = new DataView(m_data, "LetterBatchId = 491",
null, DataViewRowState.CurrentRows);
Telerik.Reporting.Processing.
SubReport subReport = (Telerik.Reporting.Processing.SubReport)sender;
subReport.InnerReport.DataSource = dv;
}
After updating to 2010 Q1 the innerReport of the subReport is null.
Why has this changed and how can I get this working again?