Description
When I update my data source (removing or adding new records), the dashboard does not get updated. Old data is still being shown.
Expected Result
It should reflect updated data.
Actual Result
It does not show updated data.
Context
I'm using the Dashboard component, but I'm getting cache problems.
I built a dashboard view and the indicators does not reflect the data real time. I hit refresh several times, but still shows old data. The only way to show updated data is:
- I restart the application (I mean restart the IIS website process)
- Go to dashboard, click edit data source and click OK (you don't need to edit anything, just hit OK).
This just happens when I am using dashboards. The reports work fine.
Dashboard controls cache
Re: Dashboard controls cache
After some testing, my team also noticed that when you do a drill down, the data gets refreshed...
-
- Posts: 6247
- Joined: Tue Mar 20, 2018 5:34 am
Re: Dashboard controls cache
Hello,
We couldn't reproduce the issue. Please send us a sample project which reproduces the issue for analysis.
Thank you.
We couldn't reproduce the issue. Please send us a sample project which reproduces the issue for analysis.
Thank you.
Re: Dashboard controls cache
I sent it by e-mail just now.
Thanks in advance.
Thanks in advance.
-
- Posts: 6247
- Joined: Tue Mar 20, 2018 5:34 am
Re: Dashboard controls cache
Hello,
Thank you for the sample.
Also, please try to use the following code to clear cache:
Stimulsoft.Report.Dashboard.StiCacheCleaner.Clean(report.Key);
Thank you.
Thank you for the sample.
Also, please try to use the following code to clear cache:
Stimulsoft.Report.Dashboard.StiCacheCleaner.Clean(report.Key);
Thank you.