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

how to set value for multivalue parameter

1 Answer 146 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
DVS InteleStream
Top achievements
Rank 1
DVS InteleStream asked on 31 Jul 2015, 08:26 PM

We have a multi-value parameter in our report. We added interactive sorting to the report by using the work around mentioned in the following post:

http://www.telerik.com/support/kb/reporting/styling-and-formatting-reports/details/how-to-add-interactive-sorting-to-a-table-item-

When we sort any column, the report reloads and the multi value parameter loses the selection. How can we prevent clearing out of the multi-value parameter control? Is there a way to set the value of the multi-value parameter?

 

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 04 Aug 2015, 11:39 AM
Hi,

The example is based on NavigateToReport action, which means that on interactive sorting you are navigated to the same report with the new values for its report parameters. Thus the report is re-initialized.

You can pass the current parameter's value to the parameter on configuring the NavigateToReport action. If you need to pass other values, note that multivalue parameters are evaluated as arrays of objects - Using Multivalue Parameters.


I hope the provided information is helpful.

Regards,
Stef
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
DVS InteleStream
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or