Saving Linked Report and setting default parameters RRS feed

  • Question

  • Hello,

    I am trying to access the parameter values that are used to produce the report after the user clicks "View Report".

    Some data is available in the POST string but those aren't actually the values used in the queries.  Is there an easy way I can transform the Label into Value?

    Ultimately, I am trying to save parameters and create a linked report with default parameters from 1 click of a button.


    Solution below...

    Tuesday, January 29, 2008 9:56 PM


  • You can get the current values for a report by calling ReportViewer.ServerReport.GetParameters().  The parameters entered by the end user will be available from that method after the PreRender event has fired for the ReportViewer.  Note that this will give you all of the parameters for the report, not just the ones that are visible, so you may need to filter based on exactly what you are looking for.

    Tuesday, January 29, 2008 11:57 PM

All replies