Forum Discussion

Mr_4el's avatar
Mr_4el
New Member
1 year ago
Solved

Report viewer losing parameters when clicking 'back'

Scenario: I have 2 reports: Report A, a simple list containing a parameter for a filter. Contains a row-level reference (action: Go to report) to another report B, which passes the parameter for th...
  • Anonymous's avatar
    Anonymous
    1 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