博客园 首页 联系 订阅 管理
 
2008-03-01 22:29

二十一.PagingBulletedList

让BulletedList拥有客户端索引、分页和排序的控件

 

<ajaxToolkit:PagingBulletedListExtender ID="ple" runat="server"
                 BehaviorID
="PagingBulletedListBehavior1"

                 TargetControlID
="blList"
                 ClientSort
="true"
                 IndexSize
="1"
                 Separator
=" - "
                 SelectIndexCssClass
="selectIndex"
                 UnselectIndexCssClass
="unselectIndex" />
            
<!--
                 TargetControlID
:该扩展器目标BulletedList控件的ID,即将要被添加客户端索引、分页和排序功能的BulletedListID
                 ClientSort
:若该属性设置为true,那么目标BulletedList控件中的项将在客户端自动进行排序

                 Height
:目标BulletedList控件加上其上方的该扩展器控件添加的索引链接总高度
                 IndexSize
:索引的长度,即索引中每一项所包含的字符数目
                 MaxItemPerPage
:每一页的最大条目数
                 Separator
:索引中项的分隔符
                 SelectIndexCssClass
:被选中的索引将应用的CSS Class
                 UnselectIndexCssClass
:未被选中的索引将应用的
CSS Class
             -->

posted on 2009-01-01 14:09  jason618  阅读(230)  评论(0编辑  收藏  举报