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

Report parameter select all not working properly

4 Answers 149 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sobiya
Top achievements
Rank 1
Sobiya asked on 22 Feb 2013, 11:58 AM
Hi,

I am using multi-value parameter in my telerik report, when i am selecting all values in one of the two dependent parameters then in second all values are selected but when i uncheck select all to first then in second first row(Select All) remain selected while values get unchecked. is there any solution for that?

4 Answers, 1 is accepted

Sort by
0
Sobiya
Top achievements
Rank 1
answered on 22 Feb 2013, 04:13 PM
Please reply I need it urgently...
0
Stef
Telerik team
answered on 27 Feb 2013, 01:06 PM
Hi Sobiya,

If we assume that the scenario are two or more report parameters which AvailableValues.DataSource is filtered based on the selection in a preceding parameter, then one possible approach is to allow null values for the parameters, as this is what happens when you deselect all. Please, check the attached sample illustrating the suggested approach.

I hope this helps.

Kind regards,
Stef
the Telerik team

See what's new in Telerik Reporting Q1 2013. Register for the March 4 webinar to witness the impressive new visualizations in Telerik Reporting. Just for fun, 10 webinar attendees will be randomly selected to win a Telerik T-shirt and a $50 Gift Certificate to ThinkGeek. Register now! Seats are limited!

0
Sobiya
Top achievements
Rank 1
answered on 28 Feb 2013, 04:20 PM
Thanks for the help, but may i know how to hide that checkbox which appears for null values.
0
Stef
Telerik team
answered on 04 Mar 2013, 12:44 PM
Hi Sobiya,

The check box is required and unless you use WPF or Silverlight where the ReportViewer's control template can be modified it cannot be removed. Of course you are free to create your own custom UI and pass parameters to the report programmatically.

Let us know if you have any further questions.

Regards,
Stef
the Telerik team

See what's new in Telerik Reporting Q1 2013. Register for the March 4 webinar to witness the impressive new visualizations in Telerik Reporting. Just for fun, 10 webinar attendees will be randomly selected to win a Telerik T-shirt and a $50 Gift Certificate to ThinkGeek. Register now! Seats are limited!

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