We are using Angular Viewer to view the report and .Net core 3.1 API to process report view.
Angular Viewer is getting refresh automatically after rendered report.
Angular Viewer Calling "ViewerEvent" API after rendered report.
We need to stop this auto API call.
Is there any possibility to stop this auto refresh?
Angular Viewer is getting refresh automatically
-
- Posts: 9
- Joined: Tue Jan 11, 2022 11:26 am
-
- Posts: 5238
- Joined: Tue Mar 20, 2018 5:34 am
Re: Angular Viewer is getting refresh automatically
Hello,
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail? How do you want to show rendered report without viewer updates?
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail? How do you want to show rendered report without viewer updates?
Thank you.
-
- Posts: 9
- Joined: Tue Jan 11, 2022 11:26 am
Re: Angular Viewer is getting refresh automatically
Hello,
Yes, we need to show report without viewer update.
after rendered report its getting updated automatically. we need to stop this auto update.
Thanks
Yes, we need to show report without viewer update.
after rendered report its getting updated automatically. we need to stop this auto update.
Thanks
Re: Angular Viewer is getting refresh automatically
Hello.
In component <stimulsoft-viewer-angular> on (loaded) event please add clearInterval(this.viewer.model.timerAutoUpdateCache);
<stimulsoft-viewer-angular #viewer (loaded)="loaded($event)"...
...
@ViewChild('viewer') viewer: StimulsoftViewerComponent;
...
loaded(data: any) {
clearInterval(this.viewer.model.timerAutoUpdateCache);
}
In component <stimulsoft-viewer-angular> on (loaded) event please add clearInterval(this.viewer.model.timerAutoUpdateCache);
<stimulsoft-viewer-angular #viewer (loaded)="loaded($event)"...
...
@ViewChild('viewer') viewer: StimulsoftViewerComponent;
...
loaded(data: any) {
clearInterval(this.viewer.model.timerAutoUpdateCache);
}
-
- Posts: 9
- Joined: Tue Jan 11, 2022 11:26 am
Re: Angular Viewer is getting refresh automatically
Hello Vadim,
Thanks, That is works fine.
Thanks, That is works fine.
-
- Posts: 522
- Joined: Tue Sep 07, 2021 10:11 am
Re: Angular Viewer is getting refresh automatically
Hello
You are welcome.
Please let us know if you need any additional help.
Thank you.
You are welcome.
Please let us know if you need any additional help.
Thank you.