ASP.NET MVC jQuery Autocomplete HtmlHelper

I was thinking of writing a generic HtmlHelper for jQuery autocomplete for ASP.NET MVC, and I would like to know first if something like this already exists.

Also, you think it even makes sense to write one, because so far even I myself had 4 different scenarios for which I had to configure it (the data from the data warehouse is almost always different, and I always need some kind of custom display of this, sometimes ID is the key, sometimes not)?

How do the Ruby guys do it?

+4
source share
3 answers

Here you have an example of such an assistant. I found this very helpful.

+7
source

I would not spend time developing a general solution to this, since it is already very easy to connect. And, as you said, there are always different scenarios.

Oh, and I'm a .net guy, so don't ask me about the Ruby part :)

+2
source

Even being a very old question that I came up with today and was looking for other options, I found this one , and maybe this can help.

I think this is a good implementation of the autocomplete helper, but needs some improvements, mainly by creating URLs using these enumerations. Still worth a look and save some time.

0
source

Source: https://habr.com/ru/post/1303444/


All Articles