This is a migrated thread and some comments may be shown as answers.

How to seach in raddropdownlist

1 Answer 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Meekal
Top achievements
Rank 1
Meekal asked on 30 Apr 2015, 04:23 AM

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

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 30 Apr 2015, 06:36 AM
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.

 
Tags
General Discussions
Asked by
Meekal
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or