下拉框过滤
问题描述:
我创建使用C#和我想要做什么ASP.NET应用程序创建一个过滤器。举例来说,我有2个下拉框
I am creating a ASP.NET application using C# and what I want to do is create a filter. For instance, I have 2 drop down boxes
countryDropDownBox
stateDropDownBox
我想要做的是,当我选择一个国家我想自动填充stateDropDownBox,我该怎么做呢?
What I want to do is when I select a country I want to automatically populate the stateDropDownBox, how can I do this?
答
您必须设置countryDropDownBox控制的AutoPostBack属性,但可以张贴一些code来帮助你。
you have to set the autopostback property of the countryDropDownBox control, but can you post some code to help you out.