Form with related groupboxes update based on selection
I am developing an application in asp.net MVC2, but I suspect this functionality may need to includ开发者_高级运维e jQuery.
Lets say I am trying to develop a slightly more complex form.
I have a number of dropdownlists. Once a certain value is selected in the first dropdownlist, let's say, Categories
- I want the second dropdownlist, let's say, Items
to update based on the data. So Categories
and Items
are related, and when a certain category is selected, only a certain subset of Items
should be shown (the related ones).
I am assuming you need cascading dropdowns. This can be done in JQuery.
You can check Have you got a CascadingDropDown working with ASP.NET MVC?
Cascading-DropDownLists-with-jQuery-and-ASP.NET
also you should check this as well jquery-ascx-and-webmethods-not-seems-to-be-working
精彩评论