ReportViewer Control parameters
Does anybody know why when I use ReportViewer Control I can't use the parameters bar of the original report to pass parameters?, I know that I can pass parameters through ReportViewer Control but I want to use the original parameters bar that the report has, because other way I have to create control for each kind of report that I want to render with parameters. In my report1, for example, in the parameters bar I have a drop-down where I select the customer Id, but in the report2 I have a Text box, and so on, I have a lot of report for that reason I want to use the original report parameters bar. Thanks in advance Peter
March 22nd, 2011 7:25pm

Hi Peter, Which mode is the ReportViewer control configured in your application, remote processing mode or local processing mode? If the ReportViewer is configured in remote processing mode to display report on Report Server, we can use the original parameters bar. Please make sure to set the ShowParameterPrompts property of the ReportViewer to Ture. However, if the ReportViewer control is configured in local processing mode to display local report in your application, I'm afraid we need add other controls to the form to allow users input report parameter. Thanks, Tony ChainTony Chain [MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2011 5:51pm

Hi Tony, Thanks for your answer, but I still running in my problem, I am using remote processing in my reportviewer control (VS2008) with SSRS (2008) R2, and yes I can see the parameters bar when I render my report but when I pass any value (or select from a list) and press view_report button, it look like i got a postback but without my parameter values. Now if I pass those values from my application using RV.ServerReport.SetParameters() method my report works fine, even if I try to change those values and press view_report button the report renders again with the same parameter values that it was before. My friend tried and got the same problem, it look like I am missing some configuration!!?? Once again thanks for your answer. peter
March 29th, 2011 11:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics