How to seach in raddropdownlist

2 posts, 0 answers
  1. Meekal
    Meekal avatar
    2 posts
    Member since:
    Mar 2015

    Posted 29 Apr 2015 Link to this post

    Hello,

    I have a simple question related to raddropdownlist. I placed raddropdownlist on a form and make its AutoCompleteMode property to SuggestAppend. When i start typing it successfully search. For example i have bonded a value like 'Iam going to market'. When i start typing Iam from the very first character, it successfully searched the value. But when i write 'going' it does not search. It actually try to search from the first word, while i need it should search from anywhere, like we use like statement in query by using '%' to find anywhere in the sentence or value.

    Hope my question will be understandable. Please anyone answer as soon as possible. I shall be very thankful.

    Thanks in advance

  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 30 Apr 2015 Link to this post

    Hi Meekai,

    You can change the suggest mode using the following property of the AutoCompleteSuggest object:
    radDropDownList1.DropDownListElement.AutoCompleteSuggest.SuggestMode = Telerik.WinControls.UI.SuggestMode.Contains;

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

    Regards,
    Stefan
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top