I have a report with three subreports. The FilesAttached subreport is working, but the other two subreports do not show any data. Here is my binding code. Is there something I am missing? Where else should I look?
Dim summaryReport As New telSummaryReport
summaryReport.DataSource = DS.Tables("SCR")
summaryReport.subNotes.ReportSource.DataSource = DS.Tables("Notes")
summaryReport.subFilesAttached.ReportSource.DataSource = DS.Tables("Files")
summaryReport.subCCB.ReportSource.DataSource = DS.Tables("Decisions")
Dim reportProcessor As Telerik.Reporting.Processing.ReportProcessor = New Telerik.Reporting.Processing.ReportProcessor()
Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("PDF", summaryReport, Nothing)
HttpContext.Current.Response.Clear()
HttpContext.Current.Response.ContentType = result.MimeType
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.Private)
HttpContext.Current.Response.Expires = -1
HttpContext.Current.Response.Buffer = True
HttpContext.Current.Response.AddHeader("Content-Disposition", String.Format("{0};FileName=""{1}""", "attachment", filename))
HttpContext.Current.Response.BinaryWrite(result.DocumentBytes)
HttpContext.Current.Response.End()