Edit: 6/26/2024 11AM
My apologies, I should have been more specific and added some context through code snippets.
We use this version the HTML5 ASP.NET Web Forms Report Viewer
Also we initialized it like so
<telerikReporting:ReportViewer ID="rvStandard" Visible="false"
Height="750px" ParametersAreaVisible="false" EnableViewState="false" runat="server">
<ClientEvents RenderingBegin="rvStandard_RenderingBegin" Error="Report_ClientError" />
</telerikReporting:ReportViewer>
This resulted in the unusual behavior with newest version 18.1.24.514.
Moving the initialization to like this with PersistSession set to false resolved the weird issue even though we hadn't set PersistSession at all.
<telerikReporting:ReportViewer ID="rvStandard" PersistSession="false" Visible="false"
Height="750px" ParametersAreaVisible="false" EnableViewState="false" runat="server">
<ClientEvents RenderingBegin="rvStandard_RenderingBegin" Error="Report_ClientError" />
</telerikReporting:ReportViewer>
To set the report to be viewed we do that in the code behind of the .aspx page. This occurs after the user has clicked a desired report. This click of what report they desire to view triggers a PostBack to the aspx page which then runs this code below to do some final configuring on the ReportSource.
rvStandard.Visible = true;
rvStandard.AuthenticationToken = IWT.Sped.Encryption.WebApiEncryption.EncryptTextAsBase64( Cast.ToString( SessionManager.CurrentUser.ID ) );
ReportSource rptSource = new ReportSource( );
rptSource.IdentifierType = IdentifierType.TypeReportSource;
var reportSourceParams = new Telerik.ReportViewer.Html5.WebForms.Parameter[]
{ /* your report params here*/};
rptSource.Identifier = "IWT.Sped.Reporting.rptCaseLoadDetail, Reporting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null";
rptSource.Parameters.AddRange( reportSourceParams );
rvStandard.ReportSource = rptSource;
Hello there,
We have been using Telerik Reporting successfully for many years and have never had a single issue upgrading to the newest version until upgrading to 18.1.24.514.
We were getting the behavior of our ReportViewer getting locked/stuck to the first report being ran. We programmatically set the report in the code behind of our .aspx pages and trigger the ReportViewer to update with the new report and parameters.
After some head banging against the wall, we resolved the issue by setting the PersistSession setting on the ReportViewer to false. To be clear we did not have the PersistSession set to true, it was not configured at all. What is confusing is according to the documentation this value is set to false by default.
Could you please update the documentation or double check that PersistSession is not set to true in the newest version of Telerik Reporting 18.1.24.514 ?