Populate Report Parameter AvailableValues.ValueMember in Report Designer

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Dec 2014

    Posted 23 Feb 2015 Link to this post

    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)
  2. Nasko
    Admin
    Nasko avatar
    1051 posts

    Posted 25 Feb 2015 Link to this post

    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.

     
Back to Top