I'm looking to dynamically control a set of drop downs so that they'll filter their items after another drop down's index has been changed.
I'm working in C#/ASP.net and it would be great if I could get the necessary data straight from Sql Server. I suppose I could generate an xml file whenever new data is uploaded to the server but that sounds like a pain.
Is there an obvious way to do what I need to do?
Check out the CascadingDropDown Control . It's part of the ASP.NET Ajax Control Toolkit.
您可以使用一个下拉列表的onchange事件,并且可以使用ajax更改另一个下拉列表的内容
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.