https://manhng.com/blog/mvc5-select2/
ASP.NET MVC using Select2 June 4, 2020 10:49 ASP.NET MVC using Select2 ( edit ) https://blog.e-zest.com/tech-tutorial-select2-with-asp.net-mvc Why Select2: Using this jQuery plugin for dropdown lists, you can implement features such as option grouping, searching, infinite scrolling, tagging, remote data sets and other highly used features. To use select2 in web projects, you just have to include JavaScript and CSS files of Select2 in your website. Current version of select2 is 4.0.0. You can easily include these files by installation of NuGet package ‘Select2.js’ from NuGet package manager. You can see examples of Select2 here . Steps of Implementation: 1. Create a blank ASP.NET MVC project, and install NuGet packages Select2.js, jQuery and jQuery Unobtrusive. 2. Add one controller with the name ‘HomeController’ and add view for default method ‘Index’. 3. Create new class in Models folder ‘IndexViewModel.cs as shown below: public class IndexViewModel { [Required(Erro...