Is there a way to add additional functionality to the report parameter boxes?
For example, when a user enters an invalid choice into a report parameter box, I want a popup balloon that tells them to try again.
I know how to do this for a regular Winform combobox, but can I implement an interface to override the default behavior of the report parameter boxes?
Hey JordanBean... I'm trying to do the same thing. Kind of...
I also want to create a separate interface to override the default parameter behavior. I feel like there are just too many limitations on the default parameter interface.
I found out that you can set parameter values in the URL string by right-clicking on the report itself (not the parameters), click on Properties, copy and paste that URL, and you can see the parameter values embedded there. That means you could create your own interface and have it spit out its values into the URL string. The only down side is once you're there, the users don't have any more access to navigate the report pages, zoom in/out, or export to different formats. Then it basically becomes useless.
There must be a better way than this!
|||I agree. Is there not an interface that we can impelment to provide custom parameter textbox functionality?|||The easiest way to do this is to Embed a ReportViewer control in your application and to provide a custom parameter UI. In this way, you have the ease of viewing reports without writing messy code to set URL properties, you get good debugging because you're using managed code controls. It also allows you to provide a custom parameters UI that looks and feels like it is part of the overall solution.
Hope that helps,
-Lukasz
No comments:
Post a Comment