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信息文本
     
  • 相关阅读:
    和为S的两个数字
    和为S的连续正数序列
    两个链表的第一个公共结点
    删除链表中重复的结点
    常用开发工具的安装(JDK、IDEA、Tomcat、Maven、Mysql和Nodepad++)——实习日志7.10
    蓄水池取样(转)
    prepare statement
    ProxySQL Getting started
    架构收录
    服务开机自启动
  • 原文地址:https://www.cnblogs.com/kloseking/p/2125795.html
Copyright © 2011-2022 走看看