RadFilter - Filter function equivalent of "IN"

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

    Posted 28 May 2014 Link to this post

    Hi,

    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,
    Thanks,
    Sharon
  2. Antonio Stoilkov
    Admin
    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.

    Regards,
    Antonio Stoilkov
    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.

     
  3. Mike
    Mike avatar
    11 posts
    Member since:
    Sep 2015

    Posted 03 Mar Link to this post

    Hi --

    Would it be possible to get this example in c#?

    Thanks,

    Michael

  4. Mike
    Mike avatar
    11 posts
    Member since:
    Sep 2015

    Posted 03 Mar in reply to Antonio Stoilkov Link to this post

    Hi --

    Would it be possible to get this example in c#?

    Thanks,

    Michael

  5. Mike
    Mike avatar
    11 posts
    Member since:
    Sep 2015

    Posted 03 Mar in reply to Antonio Stoilkov Link to this post

    Hi --

    Would it be possible to get this example in c#?

    Thanks,

    Michael

  6. Rumen
    Admin
    Rumen avatar
    13199 posts

    Posted 08 Mar Link to this post

    Hello Mike,

    You can easily convert the demo using the telerik code converter -> http://converter.telerik.com/

    Best regards,
    Rumen
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top