This is a migrated thread and some comments may be shown as answers.

RadFilter - Filter function equivalent of "IN"

5 Answers 100 Views
Filter
This is a migrated thread and some comments may be shown as answers.
sharon
Top achievements
Rank 1
sharon asked on 28 May 2014, 08:55 AM
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

5 Answers, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 02 Jun 2014, 06:45 AM
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.

 
0
Mike
Top achievements
Rank 1
answered on 03 Mar 2017, 05:04 PM

Hi --

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

Thanks,

Michael

0
Mike
Top achievements
Rank 1
answered on 03 Mar 2017, 05:05 PM

Hi --

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

Thanks,

Michael

0
Mike
Top achievements
Rank 1
answered on 03 Mar 2017, 05:05 PM

Hi --

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

Thanks,

Michael

0
Rumen
Telerik team
answered on 08 Mar 2017, 01:41 PM

Hello Mike,

You can easily convert the demo using the 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.
Tags
Filter
Asked by
sharon
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Mike
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or