Declined
Last Updated: 10 Oct 2014 10:39 by ADMIN
ADMIN
Stefan
Created on: 02 Oct 2014 14:05
Category:
Type: Feature Request
0
ADD. RadDropDownList - add Contains option to the AutoCompleteAppend mode of the control
Resolution: 
You can use custom AutoCompleteAppendHelper. You can use the following code snippet: 
this.radDropDownList1.DropDownListElement.AutoCompleteAppend = new MyAutoCompleteAppendHelper(this.radDropDownList1.DropDownListElement); 

public class MyAutoCompleteAppendHelper : AutoCompleteAppendHelper
{
    public MyAutoCompleteAppendHelper(RadDropDownListElement owner) : base(owner)
    {
    }

    protected override bool DefaultCompare(Telerik.WinControls.UI.RadListDataItem item)
    {
        return item.Text.Contains(base.FindString);
    }
}

Also you can refer to forum thread http://www.telerik.com/forums/raddropdown-autocomplete-options 
0 comments