让BulletedList拥有客户端索引、分页和排序的控件
<ajaxToolkit:PagingBulletedListExtender
ID
="ple"
runat
="server"
BehaviorID
="PagingBulletedListBehavior1"
TargetControlID
="blList"
ClientSort
="true"
IndexSize
="1"
Separator
=" - "
SelectIndexCssClass
="selectIndex"
UnselectIndexCssClass
="unselectIndex"
/>
<!--
TargetControlID
:该扩展器目标
BulletedList
控件的
ID
,即将要被添加客户端索引、分页和排序功能的
BulletedList
的
ID
ClientSort
:若该属性设置为
true
,那么目标
BulletedList
控件中的项将在客户端自动进行排序
Height
:目标
BulletedList
控件加上其上方的该扩展器控件添加的索引链接总高度
IndexSize
:索引的长度,即索引中每一项所包含的字符数目
MaxItemPerPage
:每一页的最大条目数
Separator
:索引中项的分隔符
SelectIndexCssClass
:被选中的索引将应用的
CSS Class
UnselectIndexCssClass
:未被选中的索引将应用的
CSS Class
-->