I am using ASP.NET MVC dropdown and binding data to it. Data already I have in model which I got from API call.
@Html.DropDownList("productddl", Model.selectListItems, "--Select--")
What I need is to bind data to dropdown when I click on it. I want to make API call when user click on it and bind the data.
What event do I need to use, How can I do that ?
from How to bind data to Html.DropDownList when I click on it - ASP.NET MVC
No comments:
Post a Comment