All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
Asp.net+Xml实现无数据库论坛一点即通_[Asp.Net教程]
微软.Net开发中的多线程编程总结_[Asp.Net教程]
SQL,Server,2005数据库开发概述(3)_[SQL,Server教程]
如何测试,Macintosh,Web,服务器_php资料_编程技术
asp.net2.0服务器控件之ListBox控件
不一样的项目,不一样的PHP_php资料_编程技术
ASP.NET技巧:全角字符转换为半角_.net资料_编程技术
ASP.NET:写个偷全国公交数据库的程序_.net资料_编程技术
实用技巧,利用Apache实现禁止图片盗链_php资料_编程技术
技术畅谈:开发大型PHP项目的技巧与方法_php资料_编程技术
Reading number is top 10 pictures
Absolutely shocked. National geographic 50 animal photographys9
Average female college students3
银行20年后可能消失
清扫五脏垃圾,我有绝招
Li Zongrui hunting video screenshots2
西方气质的东方美女2
The real super beauty15
A man's favorite things3--ZhouWeiTong
The real super beauty4
运动的范冰冰3
Download software ranking
matrix2
Unix video tutorial9
Unix video tutorial1
Unix video tutorial2
Boxer's Top ten classic battle8
jdk1.5
Sora aoi 120 minutes
虚拟机汉化软件
Unix video tutorial13
美女写真3
aaa published in(发表于) 2013/12/13 9:40:35 Edit(编辑)
ASP.NET移动开发之SelectionList控件_.net资料_编程技术

ASP.NET移动开发之SelectionList控件_.net资料_编程技术

ASP.NET移动开发之SelectionList控件_.net资料_编程技术-你的首页-uuhomepage.com
  正如前面提及的那样,SelectionList控件适用于呈现较短列表的数据项。尽管它不具备对长列表的分页显示功能,但是它的呈现形式是丰富多样的。只要设备浏览器支持,SelectionList控件可以以下拉列表、单项按钮、多选按钮和复选框等众多形式存在。

  SelectionList控件的列表中只有一个可视的数据项,其它的数据项只能以隐藏值的形式与可视的数据项进行关联。要在服务器控件语法中指定隐藏值,可以在<Item>元素中使用Value属性,并且将Value属性指定某数据项即可。如果使用动态绑定的形式来构建列表的话,那么你可以使用DataValueField属性指定数据源中的某个字段作为隐藏值。

  语法

  SelectionList列表控件的语法如下面的清单所示:


<mobile:SelectionList
runat="server"
id="id"
Alignment="{NotSet|Left|Center|Right}"
BackColor="backgroundColor"
BreakAfter="{True|False}"
Font-Bold="{NotSet|False|True}"
Font-Italic="{NotSet|False|True}"
Font-Name="fontName"
Font-Size="{NotSet|Normal|Small|Large}"
ForeColor="foregroundColor"
StyleReference="StyleReference"
Wrapping="{NotSet|Wrap|NoWrap}"

DataMember="dataMember"
DataSource="dataSource"
DataTextField="DataTextField"
DataValueField="DataValueField"
SelectType="{DropDown|ListBox|Radio|MultiSelectListBox|CheckBox}"
Title="String"
OnItemDataBind="itemDataBindHandler"
OnSelectedIndexChanged="selectedIndexChangedHandler">

<!-- 可选,以静态的方式声明数据项-->
<Item Text="Text" Value="Value" Selected="{True|False}"/>

</mobile:SelectionList>



添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.