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

Multivalue parameter combo not retaining selection for particular items

2 Answers 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 11 Aug 2015, 11:03 AM

We have a report with a Multivalue parameter.  We use the WebForms ReportViewer control to allow the user to make a selection before running the report.  We have noticed that, when certain combinations of selections are made, if the user selects out of the combobox and selects back into it, some of their selections are lost.  It is always the same selections that get lost.

I have checked the datasource that the multivalue parameter is bound to and there are no duplicate IDs in the list of values. 

Are there any known issues with the ReportViewer control and multivalue comboboxes that might explain why certain selections can get unselected?

2 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 13 Aug 2015, 11:59 AM
Hello Paul,

We tested the described scenario with the Sales by Region demo report which uses multivalue parameters, but we weren't able to reproduce the issue. We will need to review and debug a runnable sample project exhibiting the issue in order to investigate further.

Regards,
Nasko
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
Paul
Top achievements
Rank 1
answered on 17 Aug 2015, 04:47 PM

Nasko

Thank you for your reply.  It turned out that this was a data issue - the user had entered a trailing line feed character in the field being bound to the 'DisplayValue' property of the parameter for a small number of records. The presence of a line feed character in this field appears to prevent the 'MultiCheckBoxValueEditor.prototype.UpdateState' method in the Telerik ReportViewer code from correctly identifying that the value had previously been selected.  Removing the line feed characters from the affected records fixed the problem.

 Regards

 Paul

Tags
General Discussions
Asked by
Paul
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Paul
Top achievements
Rank 1
Share this question
or