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信息文本
     
  • 相关阅读:
    Codeforces 1111D(退背包、排列组合)
    Codeforces 1152D(dp)
    UVaLive6443(线段树)
    UVaLive6435(dp)
    POJ1741(点分治)
    Codeforces 161D(树形dp)
    BZOJ2595(状压dp)
    关于spring java.lang.IllegalArgumentException: Name for argument type [java.lang.String] 的错误
    FingerPrint Fuzzy Vault Matlab实践
    Mybatis的ResultMap的使用
  • 原文地址:https://www.cnblogs.com/kloseking/p/2125795.html
Copyright © 2011-2022 走看看