Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocomplete dropdown using asp.net mvc

I have a dropdown in my CreateDocumentTemplate ciew
<%=Html.DropDownList("Part", (SelectList)ViewData["Part"])%>
which is populated from database. I want to this dropdown to be autocomplete. How can I acoomplish this?

like image 253
Suja Shyam Avatar asked Mar 06 '26 04:03

Suja Shyam


1 Answers

Use for example jQueryUI (even comes packaged with MVC 3)

http://jqueryui.com/demos/autocomplete/#combobox

like image 81
Gideon Avatar answered Mar 08 '26 02:03

Gideon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!