"In" Operator

2 posts, 0 answers
  1. Dhyan
    Dhyan avatar
    3 posts
    Member since:
    Mar 2011

    Posted 23 Oct 2013 Link to this post


    i'm using the "In" operator for Telerik Reporting v. And i came up with the issue that it fails to verify any array value greater than 9. I'm using this filter in the conditional Formatting  (=Parameters.TemplateId.Value in split("|","1|2|3|4|5|6|8|11|9"))

    I tried to split the string using the split function so that it gives output as an array ( see above) then also when the parameter value becomes 11 it fails and when i use different parameter values like 3,2 it works. is there is a bug or i'm not doing something right. I don't want any code behind function for this. 
  2. Nasko
    Nasko avatar
    916 posts

    Posted 28 Oct 2013 Link to this post

    Hi Dhyan,

    You are missing the equal "=" sign before the value in your filter, which prevents the Split function from evaluating because the whole value is interpreted as a string. Your filter should look like:

    Expression= Parameters.TemplateId.Value
    Operator: In
    Value= Split("|", "1|2|3|4|5|6|7|8|11|9")

    I have also attached a sample report with the correct filter in the conditional formatting.

    Let me know if you need additional assistance.


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

Back to Top