开发者

Form with related groupboxes update based on selection

开发者 https://www.devze.com 2023-02-05 16:05 出处:网络
I am developing an application in asp.net MVC2, but I suspect this functionality may need to includ开发者_高级运维e jQuery.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消