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

Reading number is top 10 articles
Sql,server数据备份的三个恢复模型_[SQL,Server教程]
ASP.NET,2.0,中的母版页详解_[Asp.Net教程]
《Effective,C#》-使用成员初始化语句_.net资料_编程技术
PHP入门:初学来看配置文件PHP.INI的中文注释_php资料_编程技术
IIS运行不了ASP.NET的解决办法_.net资料_编程技术
asp.net2.0服务器控件之TextBox控件
构成Delphi工程的文件:工程文件
ASP.NET中动态控制RDLC报表_[Asp.Net教程]_0
Response.Redirect,打开新窗口的两种方法_[Asp.Net教程]
SQL中CASE的用法_[SQL,Server教程]
Reading number is top 10 pictures
Summer is most suitable for young people to travel in China10
The money of more than 100 countries and regions10
随便发几张图
007 James. bond's new lover
Sexy women in 2013--1
锄禾日了几个人?
Group of female porn in 《westwards》, uninhibited woman threatened to not the bottom line
Kim jong il's mistress, national beauty JinYuJi actor1
什么叫国家
XuRe xuan cool and refreshing photoes1
Download software ranking
塘西风月痕
仙剑奇侠传98硬盘WINXP版
Professional killers2 data package
Dance with duck(male prostitution)
Unix video tutorial6
艳兽都市
1400篇各类破解文章
传奇私服架设教程
Call Of Duty2
Tram sex maniac 2 (H) rar bag3
aaa published in(发表于) 2013/12/17 7:46:11 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.