MVC (Razor) Filter DropDownList
I'm new to MVC and JavaScript and I have a question about DropDownList. I Build a program of "Car Renting" and I have a View that allow adding new Car to the inventory. The view include 2 dropdownlists (see below): <div class="editor-field"> @Html.DropDownList("ManufacturerId", string.Empty) @Html.ValidationMessageFor(model => model.ManufacturerId) </div> <div class="editor-label"> @Html.LabelFor(model => model.ModelId) </div> <div class="editor-field"> @Html.DropDownList("ModelId", string.Empty) @Html.ValidationMessageFor(model => model.ModelId) </div> I want that when user select a manufactu
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.