翻译 CascadingDropDown 示例及简介收藏

CascadingDropDown Demonstration
CascadingDropDown 示例
 CascadingDropDown Description
CascaingDropDown 简介:
CascadingDropDown is an ASP.NET AJAX extender that can be attached to an ASP.NET DropDownList control to get

automatic population of a set of DropDownList controls. Each time the selection of one the DropDownList controls

changes, the CascadingDropDown makes a call to a specified web service to retrieve the list of values for the next

DropDownList in the set.
CascadingDropDown 是一个可以应用在ASP.net DropDownList 控件上来实现自动提交数据的ASP.net 和AJAX相结合的控件。其中一

个DropdwonList控件的选择每改变一次,CascadingDropDown控件就会向专用的网络服务发出指令来为下一个DropDownList重新得到

值的列表.


CascadingDropDown enables a common scenario in which the contents of one list depends on the selection of another

list and does so without having to embed the entire data set in the page or transfer it to the client at all. All

the logic about the contents of the set of DropDownList controls lives on the server in a web service. This web

service can use any suitable method for storing and looking up the relevant data. The sample web service used here

reads the data set from a simple hierarchical XML data file. The sample data file shows that the DropDownList items

can have distinct names and value (values are optional in the sample). There is also a walkthrough showing how to

use a CascadingDropDown with a database.
CascadingDropDown为一个列表取决于另一个列表并且在没有插入全部数据到页面或者传输到客户的情况提供了一个通用的设定。所

有的dropdownlist设置内容逻辑都由网络服务来完成。这个网络服务可以使用任何合适的方法来存储和查找相应的数据。这里使用的

这个示例的网络服务从一个示例XML数据文件里读取数据。示例中的数据文件展示了dropdownlist项目可以有特有的名字和数值(数

值是可选的)。这里同样有一个示例展示在数据库下使用CascadingDropDown.
 

发表于 @ 2007年11月08日 16:24:00|评论(loading...)

新一篇: SQL Server数据库开发的二十一条军规 | 旧一篇: ajax+asp.net2.0 sql2005三级联下拉框

Csdn Blog version 3.1a
Copyright © 学无止境LAL