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

How do you default Select All with MultiValue Parameter

1 Answer 410 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 04 Jun 2013, 08:28 PM
Using the standalone designer, is there a way to have a parameter's default value set to "select all"  in a MultiValue parameter list?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Jun 2013, 11:28 AM
Hello Robert,

In order to enable multivalue parameters according to your requirements, you have to set the ReportParameter.AllowNull property to false and specify report parameter default value as elaborated in Using Multivalue Parameters help article. You may find useful Extending Report Designer help article that elaborates how to reference an assembly with custom aggregate .

Another option if you have set Parameter.AllowNull property to True and to use report filtering with the following expression:

 Expression

Operator

Value

= IIF(Parameters.Param1.Value is null, true, Fields.Fields1 In Parameters.Param1.Value)

 =

 =true

Regards,
Peter
Telerik

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

Tags
Report Designer (standalone)
Asked by
Robert
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or