下拉框过滤 [英] Dropdown box filtering

查看:134
本文介绍了下拉框过滤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建使用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.

这篇关于下拉框过滤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆