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
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
0
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
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
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.