Created: Thursday, July 7, 2016 2:59:03 PM
Latest updated:Thursday, November 22, 2018 1:21:35 PM
This post is about how to use jquery ui autocomplete with ASP.NET 5. Long back I wrote a blog post about using JQuery autocomplete with ASP.NET.
Here is the sample action methods, which returns an array of strings - programming languages from JQuery UI autocomplete demo.
And here is the client side code.
Autocomplete textbox data is loaded using the source property, on keydown, using JQuery ajax, request send to the server with query string. Based on query string, data returned as JSON. And this data mapped back to the textbox. And here is the screenshot of the web page running on my system.