how to populate a 3rd dropdown list in MVC, using AJAX call and on the basis of the selected value's of second drop down as well
?
Example Country--State--City--Town--Village
how to populate a 3rd dropdown list in MVC, using AJAX call and on the basis of the selected value's of second drop down as well
?
Example Country--State--City--Town--Village
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.
Vishal YelvePosted Sep 18, 2022, 5:28 PM
https://www.aspsnippets.com/Articles/Cascading-Dependent-DropDownList-in-ASPNet-MVC.aspx
https://learn.microsoft.com/en-us/answers/questions/216632/cascading-dependent-dropdownlist-using-aspnet-mvc.html
Jignesh KumarPosted Sep 17, 2022, 11:21 AM
Hi,
Please find below link which will help you,
https://www.c-sharpcorner.com/Forums/ajax-calling-for-more-than-3-dropdowns-mvc
https://www.aspsnippets.com/Articles/AJAX-Cascading-DropDown-Example-in-ASPNet.aspx
Vishal JoshiPosted Sep 17, 2022, 10:38 AM
Hello R D,
The functionality you are looking for is known as cascading dropdown.
You can check below article for the same:
https://www.c-sharpcorner.com/UploadFile/4d9083/creating-simple-cascading-dropdownlist-in-mvc-4-using-razor/
Sachin SinghPosted Sep 17, 2022, 8:40 AM
step 2.
MVC methods