首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

aspnetpager的有关问题,

2013-01-09 
aspnetpager的问题,在线等。asp:AspNetPager IDInboxPagerrunatserver AlwaysShowTrueCustomInfo

aspnetpager的问题,在线等。
aspnetpager的有关问题,

  <asp:AspNetPager ID="InboxPager"  runat="server" AlwaysShow="True"
                    CustomInfoHTML="%CurrentPageIndex% / %PageCount%" 
                     NextPageText="下一页" 
                    NumericButtonCount="5" PageSize="20" PrevPageText="上一页" ShowCustomInfoSection="Left"  ShowFirstLast="false">
                </asp:AspNetPager>

这个是我的代码,怎么叫1/1这个放到“上一页和下一页中间”将之前的1移除
[解决办法]
给他的源码吧
[解决办法]
你看它的源码啊,我这又没有,  改CustomInfoHTML属性显示的位置
[解决办法]
修改源码。否则提供的dll没这个功能 http://www.webdiyer.com/Home/Index?aspxerrorpath=/
[解决办法]
抱歉,不可以,没见过这种要求的
[解决办法]
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoHTML="<span style='position:relative;left:500px;display:block'>%CurrentPageIndex% / %PageCount%</span>"
NextPageText="下一页" NumericButtonCount="5" PageSize="20" PrevPageText="上一页" ShowCustomInfoSection="left"
ShowFirstLast="false" OnPageChanging="AspNetPager1_PageChanging" ShowMoreButtons="false"
PrevNextButtonsStyle="margin-left:50px" ShowPageIndex="False">
</webdiyer:AspNetPager>
调好了,可能位置有少许偏差,只要修改红色像素值就行了。
aspnetpager的有关问题,
[解决办法]

引用:
引用:<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoHTML="<span style='position:relative;left:500px;display:block'>%CurrentPageIndex% / ……

不懂。。。。。。。
引用#7

<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoHTML="<span style='position:relative;left:500px;display:block'>在这里加空格%CurrentPageIndex% / %PageCount%在这里加空格</span>"
 NextPageText="下一页" NumericButtonCount="5" PageSize="20" PrevPageText="上一页" ShowCustomInfoSection="left"
 ShowFirstLast="false" OnPageChanging="AspNetPager1_PageChanging" ShowMoreButtons="false"
 PrevNextButtonsStyle="margin-left:50px" ShowPageIndex="False">
 </webdiyer:AspNetPager>

[解决办法]
引用:
引用:<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoHTML="<span style='position:relative;left:500px;display:block'>%CurrentPageIndex% / ……

PrevNextButtonsStyle="margin-left:50px" 
设置前一页下一页按钮的样式为“做外边距:50px"。
[解决办法]
分页很复杂吗?自己写一个呗

热点排行