tycomo / ngx-ssrs-reportviewer

Simple Angular report viewer component for SQL Server Reporting Services
MIT License
52 stars 22 forks source link

SSRS Iframe is reloading on tab switch #56

Open chayankar opened 2 years ago

chayankar commented 2 years ago

I have angular material tabs control in my page. Each tab hosts SSRS report viewer. I am facing the following 2 issues:

1) Reports are getting rendered only when I am switching tabs. Example: I have 3 Tabs (Tab #1, Tab #2, Tab #3). Tab #2 & Tab #3 does not load the report in background. Only when I'm focusing in either of the tabs, that's when report is getting rendered.

2) On revisiting a tab, the report generation cycle repeats again. The state of the report is not preserved.

Any input will be appreciated.

package version: 3.1.1 angular: 12.0.0

Cheers !!