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

Build editor or group for full-text search

1 Answer 57 Views
Filter
This is a migrated thread and some comments may be shown as answers.
AMSndy
Top achievements
Rank 1
AMSndy asked on 20 Mar 2013, 09:06 PM
Is it possible to build own RadFilterGroupOperation or RadFilterDataFieldEditor for MS SQL full-text search operator CONTAINS? Meybe you may suggest some solution. I'd like to generate SQL with where clause like that:  
.... CONTAINS([columnName], 'NEAR(value1, value2)')
- columnName  from Filter FieldName property 
- NEAR operator from FilterFunction 
- value1, value2 from editor texbox

 
 

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 25 Mar 2013, 12:11 PM
Hi,

 Currently RadFilter does not provide options for custom filter functions. You can build custom field editors though, as shown in this demo:
http://demos.telerik.com/aspnet-ajax/filter/examples/customeditors/defaultcs.aspx

Another option is to use custom query provider and build the filter expression manually in the ApplyExpressions event of the control. More information on this can be found in the following help topics:
http://www.telerik.com/help/aspnet-ajax/filter-building-expressions.html
http://www.telerik.com/help/aspnet-ajax/filter-custom-editors.html

Kind regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Filter
Asked by
AMSndy
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or