Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
How do I pass parameters through reportXamReportViewer which is using server side rendering?
posted

I have a report on the server requiring a parameter, which I would like to autofill before its renedered on the client. I cannot find any documentation on this. The assumption seems that these are standalone reports which would require user input.

Would really appreciate any help anyone can give.

 

Parents
No Data
Reply
  • 100
    posted

    Hello sgreenhall,

    If you just want to autofill a parameter, you can enter a value in the Default Value field. However, if you just do that, the end user will be still notified for entering a value in the Report Viewer submit form. In order to avoid the situation before, there is a new property named IsParameterPaneVisible in the Report Viewer control which will let you hide the parameters form and start processing the report without asking the user to enter any value.

    Please note that if you set this property to false and not every parameter has a valid value, a report processing error will occur.

    Another solution to be considered could be parameter binding. This is also a new feature in our brand new release. By using parameter binding, you will be able to "preload" values in the Report Viewer for any given report parameter.

    Hope this helps.

    Regards,

    Damián

Children