I have upgraded from Q3 2015 to Q3 2016 without errors. Now any report that takes longer than 2-3 seconds to pull data does not display the data. If I click the refresh button on the report, the data populates. This is happening with 20+ reports.
I am populating data programatically using a (table)_NeedDataSource event. When the report initially loads, the need data source event is called, the data is retrieved, and the table's data source is set. The report displays blank data, but the headers and other static report information shows. When clicking the refresh button, the need data source event is NOT fired (as expected) but the report populates data just fine.
A summary of the events is here:
User presses retrieve report button.
Postback to button onclick event.
Report parameters are pulled and set from information on screen.
The following code is executed:
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
Reports.Accounting.TestReport.TestReport tReport = new Reports.Accounting.TestReport.TestReport();
instanceReportSource.ReportDocument = tReport;
rptViewer.ReportSource = instanceReportSource;
rptViewer.RefreshReport();
The report is fired, the table's needdatasource event called, and a datatable is created, populated, and set as the table's datasource.
The report viewer shows the generating report status and after 2-3 seconds it displays the header/footer of the report with no data.
At this time, I can press the refresh button and no postback occurs and no page scripts are ran. The report then populates successfully after 6-7 seconds.
This does not happen on reports that pull in <2 seconds. It seems to only be happening to reports that require 2+ seconds (approximate) to pull the data.
Is there some kind of time out or new function I'm missing in the report viewer control??