automcomplete search both text and value?

4 posts, 0 answers
  1. Henry
    Henry avatar
    42 posts
    Member since:
    Apr 2012

    Posted 25 Apr 2012 Link to this post

    I had a radcombobox that set up to filter="Contains", it works fine. but it only search the "text" of those RadComboBoxItem in combobox, is there an easy way to enable it so that it tried to search both "text" and "value" of the RadComboBoxItem in comboxbo? or possible include those in the attributes in RadComboBoxItem?

    Thanks.
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 30 Apr 2012 Link to this post

    Hello Henry,

    Unless you implement some custom functionality the RadComboBox will search among its items based on their Text property. On other hand of you implement a multi-column combobox where the Value is displayed as a separate column then the Filtering will search for a match in all of the available columns.

    Kind regards,
    Dimitar Terziev
    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.
  3. Henry
    Henry avatar
    42 posts
    Member since:
    Apr 2012

    Posted 30 Apr 2012 Link to this post

    Dimitar, thanks for the reply.

    Yes actually my combobox was multiple columns, but the filter is only on the text, not those other columns. could you provide any demo or examples?
  4. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 03 May 2012 Link to this post

    Hello,

    I've prepared a sample page so you could use it as a reference.

    Kind regards,
    Dimitar Terziev
    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