ASP.net AutoComplete Dropdownlist

AutoComplete isn't built in to any control, it is a control itself. AutoComplete only works on textboxes. What would you complete in a dropdown List? How about just setting a default selected index?
 
Oh, I am sorry, I meant you can type in the value on the dropdownlist, not really mean auto complete. for example, if I have "01", "02", "03" in the list, normally, if we type in "0", the dropdownlist will take us to "01", but if I type in "3", the dropdownlist will not take me to "03".
 
You can use javascript, populate a js array and onkey press of the textbox, loop thru array, try to match a value and fill the textbox.
 
Back
Top