We are using Telerik Reporting in an ASP .NET Application.
We had some issues with the report not showing while fetching data, which led to the application seeming to not respond.
To overcome this issue we initialized the report at first with no data (i.e. Report Parameters not set) and placed an ASP Update Panel and ASP Timer.
In the Tick event of the Timer the report parameters are set and the report is forced to update the data using the new report parameters. Below is a snippet of the update method called by the tick event of the timer.
/// Updates the report.
AcceptanceProtocol.AcceptanceProtocol report =
report.SetFilters(companyId, userId, deviceId, cultureName);
In the NeedDataSource event of the report we are fetching our data using a custom business logic object (see below):
/// Handles the NeedDataSource event of the AcceptanceProtocol control.
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
sender, EventArgs e)
Telerik.Reporting.Processing.Report rep = (Telerik.Reporting.Processing.Report)sender;
The problem is that sometimes the report is showing data and sometimes not.
If we force a second GET request to the page that renders the report everything is working fine.
Some idea what is causing this?