下拉边界控制 [英] dropdown bounded control

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

问题描述

我有一个绑定到Objectdatasource1的第一个下拉控件.
它有四个项目"item1","item2","item3"和"item4"
如果选择"item1"或"item" 4,则应填充第二个下拉列表,该下拉列表必须与objectdatasource2绑定.
如果选择了"item2"或"item3",则应填写第三个下拉列表,该下拉列表以objectdatasource3为界.

I have a first dropdown control bounded to Objectdatasource1.
It has four items "item1", "item2", "item3" and "item4"
If "item1" or "item"4 is selected the second dropdown should be filled which is bounded to objectdatasource2.
if "item2" or "item3" is selected the third dropdown should be filled which bounded to objectdatasource3.

can any one suggest how to achieve this task?

推荐答案

只是Google/CP搜索"级联下拉列表".

您正在寻找的是根据第一个下拉列表中选择的值填充第二个下拉列表.

如果没有其他要求,则 Ajaxtoolkit具有级联下拉列表 [
Just Google/CP Search for ''Cascading Dropdown''.

What you are looking for is populating a second dropdown based on the value selected in first dropdown.

If not anything else, Ajaxtoolkit has a cascading dropdown[^] control.


在选定的索引更改上,检查下拉列表的选定值,并根据该绑定绑定您的进一步下拉列表!
On selected index change check the Selected Value of a DropDown List and according to that bind ur Further Drop downs!


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

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