RadFilter - Filter function equivalent of "IN"

2 posts, 0 answers
  1. sharon
    sharon avatar
    1 posts
    Member since:
    May 2014

    Posted 28 May 2014 Link to this post


    I want to have a filter function in RadFilter equivalent to "IN" of SQL.
    I should be able to select a field, select "IN" and provide the value as comma separated.
    Is it available?
    If not, is there a way to add it programmatically?
    I am using RadFilterSqlQueryProvider to get the SQL query from the RadFilter. So please provide a solution with which the RadFilterSqlQueryProvider will be able to convert filter to SQL.

    Awaiting Reply,
  2. Antonio Stoilkov
    Antonio Stoilkov avatar
    530 posts

    Posted 02 Jun 2014 Link to this post

    Hello Sharon,

    I have attached a sample project showing the desired functionality implemented. The idea is to create a custom FieldEditor and change an existing filter function to act as an SQL IN by subscribing to the ExpressionCreated event.

    Antonio Stoilkov

    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