Forum Discussion
Report viewer losing parameters when clicking 'back'
- Anonymous1 year ago
Hi Mr_4el ,
Thank you for the followup. In modern SSRS versions, when using the browser Back button, the report content may appear correct due to browser caching, but the parameter panel resets to default values.
This is caused by the CacheControl: no-cache header, which prevents SSRS from retaining the previous parameter state.
This behaviour is by design and differs from SSRS 2008, which cached both the report content and parameters.
We can try, a custom "Back" action in Report B that navigates to Report A with the original parameters or use URL parameters or session storage (if using a wrapper app) to retain parameter values.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Regards,
B Manikanteswara Reddy
This solution is not suitable.
Currently, when switching back in the browser, the contents of the report are displayed taking into account the previously selected parameters (the report script is not executed in this case), and the page is being re-rendered. The parameters become the default. And in the page properties, in the "Response Headers", the "Cache-Control" property has the value "no-cache".,
- Anonymous1 year agoNot applicable
Hi Mr_4el ,
Thank you for the followup. In modern SSRS versions, when using the browser Back button, the report content may appear correct due to browser caching, but the parameter panel resets to default values.
This is caused by the CacheControl: no-cache header, which prevents SSRS from retaining the previous parameter state.
This behaviour is by design and differs from SSRS 2008, which cached both the report content and parameters.
We can try, a custom "Back" action in Report B that navigates to Report A with the original parameters or use URL parameters or session storage (if using a wrapper app) to retain parameter values.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Regards,
B Manikanteswara Reddy
- Anonymous1 year agoNot applicable
Hi Mr_4el ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Please don't forget to give a "Kudos " – I’d truly appreciate it!
Regards,
B Manikanteswara Reddy
- Anonymous1 year agoNot applicable
Hi Mr_4el ,
Thank you for reaching out to Microsoft Fabric Community Forum.
As we haven’t heard back from you, we will go ahead and close this ticket for now.
If you need any further assistance, please don’t hesitate to raise a new ticket, we’re always happy to help.
Our sincere apologies if there was any inconvenience caused.
Regads,
B Manikanteswara Reddy