Passing parameters for preview in Report Designer

3 posts, 0 answers
  1. Vladimir
    Vladimir avatar
    5 posts
    Member since:
    Nov 2012

    Posted 24 Nov 2014 Link to this post


    is there any way to select report parameter value for parameter with defined data source, when preview report in Report Designer?

    I can set value for simple text parametr in Parameter Properties window, but how to select value when parameter with own data source for values?

    Thanks a lot!
  2. Nasko
    Nasko avatar
    909 posts

    Posted 27 Nov 2014 Link to this post

    Hello Vladimir,

    The parameter default value can be set via the Parameter.Value property, regardless if the parameter has available values or not. The Value property is used to specify value for the parameter. It can be blank, a value of the allowed types, an expression that evaluates to an object, or IEnumerable containing values of the allowed types.
    Note that the specified value should match the value from the AvailableValues.ValueMember expression for one of the records in the AvailableValues.DataSource. Otherwise none of the available parameter values will be selected at run-time.
    Additional information on the topic can be found in the Report Parameters help articles.


    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.

  3. DevCraft banner
  4. Kyle
    Kyle avatar
    15 posts
    Member since:
    Mar 2016

    Posted 11 May in reply to Nasko Link to this post

    I did all of this and I still see no data when I know that I should.
Back to Top