Wanted to select tags like asp.net or stackoverflow for example?

Each time a question is posted on sites such as ASP.NET and Stack Overflow , it is possible to select tags for questions. These tags are from the database, I need the exact same solution for my site. Can anyone suggest an example?

I am using ASP.NET with a SQL Server database.

+4
source share
3 answers

the best solution present on the Internet, I wanted to https://github.com/harindaka/ASPTokenInput It uses the jqueryui API, but it modifies it to fit perfectly in C # code to get text on the fly by processing the URL an aspx page, such as a web service, and retrieving the results from db on each event with the key pressed, you can program every thing you want with the code offer ItemList.aspx.cs and there you go, perfect harmony of C # code with the power of jQuery

0
source

This may be what you need and then you can use jqueryUI autocomplete to achieve autocomplete behavior as suggested by Kevin B

To store tags in a database, you definitely need to manage them in a database based on the TAG -User relationship

+2
source

While server-side code is PHP, this tutorial shows you how you can create your own jQuery-enabled tag cloud that gets its data from the server (either a database or some other source).

0
source

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


All Articles