I found select2 more suitable to my requirements
Which dropdown plug in to use in ASP.NET MVC 4?
-
13-04-2022 - |
Question
Following are the requirements of Search panel in my MVC application:
- I need three dropdowns (or list boxes) - Countries, States, and Cities
- Multiple selection should be possible in each of these dropdowns.
- Autocomplete is also required.
- There is a WCF service which interacts which performs DB operations aimed to build data sources for these dropdowns.
- When user selects a Country, it should populate list of States, and Cities. (there shouldn't be anything in States and Cities data source unless a Country is not selected)
- There shouldn't be anything in Countries data source unless a user first clicks on "Search panel". This is to avoid data transfer from server to client unless it's requested.
This means, I need to heavily rely on JQuery, and AJAX.
Any idea what could be the best plug in to achieve this?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow