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

Populate Report Parameter AvailableValues.ValueMember in Report Designer

1 Answer 550 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 23 Feb 2015, 02:05 PM
Is there a way to specify the ValueMembers through an expression?

i.e. ValueMember = True, False

The issue is that I'm attempting to populate the default Report Parameters through a boolean data source field. However, the way the data source is configured, I'll only ever have True or False. So if I use Fields._____ (which is a boolean), the ValueMember will only ever be True or False.

I still need to be able to see both values in the drop down to control some report behavior.

Or would I have to write a custom method to return a List of possible boolean values? (True, False)

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 25 Feb 2015, 02:33 PM
Hello David,

Please check the Specifying Default Values for a MultiValue Parameter section of the Using Multivalue Parameters help article for more information on how to set default values for the report parameters.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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