Build editor or group for full-text search

2 posts, 0 answers
  1. AMSndy
    AMSndy avatar
    1 posts
    Member since:
    Sep 2008

    Posted 20 Mar 2013 Link to this post

    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

  2. Marin
    Marin avatar
    1057 posts

    Posted 25 Mar 2013 Link to this post


     Currently RadFilter does not provide options for custom filter functions. You can build custom field editors though, as shown in this demo:

    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:

    Kind regards,
    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.
Back to Top