Removing "View Report" and rendering a report when the Parameter Value Changes
-
Friday, February 15, 2013 12:35 PM
Hi all,
I am looking to re-render a report when the default paramter value changes (my reports will only have 1 parameter).
I am looking to remove the "View Report" button - and fire a javascript event when the parameter value changes.
The first part is do-able (could be CSS change on the report server), it the catching the paramter changed part I am stuck on.
Has anybody done this? I am using teh 2010 version of the reportviewer control.
Thanks,
Keith.
All Replies
-
Monday, February 18, 2013 4:10 AMModerator
Hi Keith,
To remove the “View Report” button, you can set the “ShowParameterPrompts” property of the ReportViewer control to False. Then, you can create custom parameters within the custom application, and use the ServerReport.SetParameters Method to pass parameters from the custom application to the Reporting Services. After that, you can handle the event of parameter selection, check if all parameter have available values and then run report.
If you need further information on how to handle this event, I suggest that you ask a question in the ASP .NET forum where the experts are more familiar with this topic:
http://forums.asp.net/References:
- Configure to use a on change event instead of click on View Report in Report Manager
- SSRS Report has to open without click on aplay button after changing the Parameter values in Report
- How to pass parameters to Reporting Services from .Net applications
Regards,
Mike YinIf you have any feedback on our support, please click here
Mike Yin
TechNet Community Support- Marked As Answer by Mike YinMicrosoft Contingent Staff, Moderator Friday, February 22, 2013 6:21 AM


