Refresh Web Report Viewer After Changing Report

Stimulsoft Reports.WEB discussion
Post Reply
ChrisHolland
Posts: 45
Joined: Tue May 21, 2019 1:44 pm

Refresh Web Report Viewer After Changing Report

Post by ChrisHolland »

How do I refresh a Web Report Viewer After Changing the Report.

I have Server side code:

ReportViewer1.Report = MyReport;

I tried

ReportViewer1.DataBind(); // but this didn't update the viewer.

and on the client side I have tried:

jsReportViewer1.Synchronization(); // This works for a ReportDesigner, but doesn't appear to be a Viewer function.

jsReportViewer1.Refresh(); // This doesn't appear to be a function

jsReportViewer1.viewer.Refresh(); // Found this in the documentation but it doesn't appear to be a function

I am sure there must be a simnple way but I just can't find it <g>

Chris
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Refresh Web Report Viewer After Changing Report

Post by Lech Kulikowski »

Hello,

Please try to call jsReportViewer1.postAction("Refresh");

Thank you.
wiki9911
Posts: 9
Joined: Tue Apr 21, 2020 2:09 pm

Re: Refresh Web Report Viewer After Changing Report

Post by wiki9911 »

Hello Dear All,

is anyone have any other solution for the refresh of the report?
I have used StiWebViewer. On page load function my reports are working but when I am calling the report from a radtree control OnGetReportData is working but not showing the report.


Any help or suggestion will be highly appreciated.

Best Regards,
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Refresh Web Report Viewer After Changing Report

Post by Lech Kulikowski »

Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.
Post Reply