zoukankan      html  css  js  c++  java
  • 分页利器 AspNetPager常用属性

     

    今天是第一次用,感觉挺好的,这里记录下,防止以后忘记,嘿嘿;

       <webdiyer:aspnetpager id="AspNetPager1" runat="server" 
           alwaysshow="True"
           PageSize="5" 
           custominfosectionwidth="20%" 
           custominfotextalign="Right" 
           firstpagetext="第一页"
           horizontalalign="Left" 
           lastpagetext="末一页" 
           navigationbuttontype="Image"  
           nextpagetext="后一页"
           pageindexboxtype="TextBox"
           pagingbuttonspacing="8px"
           prevpagetext="前一页" 
           showcustominfosection="Right" 
           showpageindexbox="Always" 
           textafterpageindexbox="页" 
           UrlPaging="true" 
           textbeforepageindexbox="跳到第"
           width="97%" 
           onpagechanged="AspNetPager1_PageChanged">
    </webdiyer:aspnetpager>
     
    alwaysshow:总是显示分页控件;
    PageSize:指定每页显示的记录数;
    custominfosectionwidth:用户自定义信息区的宽度;
    custominfotextalign:用户自定义信息区的对齐方式;
    firstpagetext:第一页按钮上显示的文本;
    horizontalalign:内容水平对齐方式;
    lastpagetext:最后页按钮上显示的文本;
    navigationbuttontype:第一页、下一页、最后一页按钮的类型;
    nextpagetext:下一页按钮上显示的文本;
    pageindexboxtype:指示页索引框的显示类型:有TextBOX和dropdownlist两种;
    pagingbuttonspacing:导航页按钮的间距;
    prevpagetext:上一页按钮的显示的文本;
    showcustominfosection:显示当前页和总页信息,默认为不显示,值为LEFT时将显示在页索引前,为right时显示在页索引后;
    showpageindexbox:指定页索引文本框或下拉框的显示方式;
    textafterpageindexbox:指定页索引文本框或下拉框后的文本;
    UrlPaging:是够使用URL传递分页的方式来分页;
    textbeforepageindexbox:指定页索引文本框或下拉框前面显示的文本;
    width:该控件的宽度;
    CustomInfoHTML:指定要显示在用户自定义信息区的用户自定义HTML信息文本
     
  • 相关阅读:
    ORACLE通过netca配置监听遇到 TNS04415错误
    图说计算机编程简史
    关于在VS2008以下版本的MFC程序使用VS 2008 FeaturePack出现内存泄露的理解
    对话框的OnPaint函数的两种写法的区别
    Hibernate 3.6.0 Beta1
    Hibernate 3.6.0 Beta1
    Maven 与 Checkstyle
    NetBeans 时事通讯(刊号 # 110 Jul 21, 2010)
    NetBeans 时事通讯(刊号 # 111 Jul 28, 2010)
    教育哲学的碰撞
  • 原文地址:https://www.cnblogs.com/kloseking/p/2125795.html
Copyright © 2011-2022 走看看