2 Replies Latest reply: Feb 28, 2012 4:27 AM by David Perry RSS

CR for VS 2010 Parameter Prompt Issue

David Perry
Currently Being Moderated

I am using CR for VS 2010 (13.0.2000.0) and using the ASP.NET ReportViewer.  I have a report where the datasource is set at runtime.  I want to pass two parameters so I can display the date range of the query used to generate the data at the top of the report.

 

The report works correctly without the parameters but when I add the parameters to the report and set these parameters using ReportDocument.SetParameterValue, I still get prompted to enter these parameters.  I don't want the user to be prompted again since they already entered these values for the database query.

 

How do pass parameters to the report so the user is not prompted to enter them?

Actions