This is a migrated thread and some comments may be shown as answers.

Reload drillthrough report with new parameters?

3 Answers 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Katherine
Top achievements
Rank 1
Katherine asked on 01 Jun 2017, 06:03 PM
An have an MVC app with a report viewer control that displays a report. The report has links in it that navigate to another report. The parameters are the same for both reports with the exception of one additional parameter for the drillthrough. I am programatically passing the parameters to the parent report from my MVC app. I want the user to be able to modify the parameter selection and refresh the drillthough report without having to go back to the parent report. Is this possible? 

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 02 Jun 2017, 04:11 PM
Hello Katherine,

On creating the NavigateToReportAction you can specify a target report and you can map the target report's parameters to fields, parameters, expressions of the main report. You can make the target report's parameters visible in order to have editors for them in the viewer when the user navigates to that report.

If you need further help, please elaborate on the scenario and how actions are configured.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Katherine
Top achievements
Rank 1
answered on 02 Jun 2017, 07:49 PM
Yes, I have a NavigateToReportAction that passes the parameters from the parent report to the target report. The parameters are initially passed to the parent report programmatically from my MVC app. I'm using HTML inputs for the parameters since they look nicer than the report parameters. The problem is that if they have navigated to the target report from the parent report (using the NavigateToReportAction), the user can't change the parameters using the HTML inputs without it going back to the parent report. I would like to a way for them to change the parameters and stay on the target report, like using javascript to refresh the report with the new parameters. I also looked at using a report book, but I don't like that it prints all of the reports instead of just the current report.
0
Stef
Telerik team
answered on 05 Jun 2017, 04:38 PM
Hello Katherine,

If you prefer to use custom UI to provide values to report parameters, test replacing the NavigateToReportAction with a Hyperlink action. You will open a new page with another viewer by using this action, which will allow users to have custom UI loaded for the current report.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Katherine
Top achievements
Rank 1
Answers by
Stef
Telerik team
Katherine
Top achievements
Rank 1
Share this question
or