More in this section
Forums / General Discussions / Telerik Reports Filters

Telerik Reports Filters

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. devesh
    devesh avatar
    1 posts
    11 Mar 2011
    02 Jun 2011
    Link to this post
    How can we pass multiple values using c# for    in    operator of filters of Telerik Reports?
    Example :

    =Fields.CustomerId    in    (1, 6, 7, 88, 22)

  2. Peter
    Peter avatar
    1 posts
    01 Jun 2017
    03 Jun 2011
    Link to this post
    Hello devesh,

    Currently our expressions don't support the required syntax. However you can achieve the same result with a simple user function:

    public static object[] SplitArray(string values)
        return values.Split(',');

    Then you can use the above user function in the reports expressions as shown in the following sample:
     Expression  Operator  Value
    =Fields.CustomerID  In   =SplitArray("1, 6, 7, 88, 22")

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered