AutoComplete on MultiColumn Combobox

4 posts, 0 answers
  1. Sam
    Sam avatar
    2 posts
    Member since:
    Jul 2010

    Posted 09 Sep 2010 Link to this post

    Is it possible to search on both columns when user tries to type in the dropdown?
    If you have
    ColA  ColB
    123   ABC

    And user tries to type 123 or ABC then we highlight that row?
    I tried doing this using OnClientItemsRequested and It works fine, but I wanted to check to see if this is already implemented in the control or anyone has a any good ideas... 
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 13 Sep 2010 Link to this post

    Hi Sam,

    RadComboBox supports filtering only by Items' Text properties. As an alternative you can set the Text property to the full text so that the filtering works per your requirement and then in the client-side SelectedIndexChanged event set the Text of the RadComboBox to the desired Text of the selected Item.

    Best wishes,
    Simon
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vinay
    Vinay avatar
    1 posts
    Member since:
    Feb 2015

    Posted 06 Feb 2015 in reply to Sam Link to this post

    Can u please provide code for the above problem that u write on OnClientItemsRequestedevent.
  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 11 Feb 2015 Link to this post

    Hello,

    In the ItemsRequested event handler you are absolutely able to control the filtering functionality. Please review RadComboBox Load On Demand example  that shows how to implement your own search query based on the typed text.


    Regards,
    Boyan Dimitrov
    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.

     
Back to Top