type of filters

2 posts, 1 answers
  1. Daniel
    Daniel avatar
    192 posts
    Member since:
    Mar 2012

    Posted 04 Feb 2013 Link to this post

    From the documentation about autocomplete 
    .
    Filter("contains") //Define the type of the filter, which autocomplete will use.

    I noticed that the Filter method has some hard-coded values.What are the other filter types?
    if other controls also have this kind of hard-coded values,where can i find them?also,they are case-sensitive?

    Regards,
    Daniel
  2. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 04 Feb 2013 Link to this post

    Hi Daniel,

     
    The AutoComplete widget has two possible filters - "startswith" and "contains". They are both covered in the Documentation ("startswith" is the default value). 

    Usually when a method receives a hard-coded value as a parameter, it is described in the documentation e.g. DataSource filter method.

    All the best,
    Dimiter Madjarov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top