how to populate multiselect dropdown list with another dropdownlsit and apply filtering in three multiselect dropdown list .
Loading
how to populate multiselect dropdown list with another dropdownlsit and apply filtering in three multiselect dropdown list .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Simran VermaPosted Oct 31, 2023, 11:34 AM
FIrstly, You create a Model.
Like I have an example- You have a product with Id, name, and selected for track the state.
In a Controller create a list of products and you also used your databae if existed.
Create a view, design depend on requirement where you will use html tag helpers, css also javascript for best user experience. All depends on your choice. for example, given a simple view code
As your ques here I used checkbox. And at the end in your controller add the HTTP POST method to handle the response (for process the selected item)