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 » Tue Nov 05, 2019 12:03 pm

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: 3815
Joined: Tue Mar 20, 2018 5:34 am

Re: Refresh Web Report Viewer After Changing Report

Post by Lech Kulikowski » Wed Nov 06, 2019 4:12 pm

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 » Tue Jul 14, 2020 10:24 am

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: 3815
Joined: Tue Mar 20, 2018 5:34 am

Re: Refresh Web Report Viewer After Changing Report

Post by Lech Kulikowski » Wed Jul 15, 2020 5:58 pm

Hello,

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

Thank you.
Post Reply