如何使AspNetPager的宽度固定

eHuaTian 2010-01-12 08:45:48
页面设计代码如下,AspNetPager宽度定为280px,但运行时,依次点击第2、3、4、5页时,AspNetPager的宽度总是有变化,而不是固定不变。现在我要AspNetPager的宽度不变,如何设计?

<asp:UpdatePanel ID="resultPanel" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<webdiyer:aspnetpager id="netPager" runat="server" horizontalalign="Center" PagingButtonSpacing="8px"
onpagechanged="netPager_PageChanged" ShowPageIndexBox="Always" SubmitButtonImageUrl="image/go.jpg"
ShowCustomInfoSection="Left" CustomInfoHTML="共%PageCount%页 %RecordCount%条记录"
SubmitButtonStyle="width:32px;height:22px;vertical-align:bottom" CustomInfoTextAlign="Left"
urlpaging="false" width="280px" LayoutType="Table"
ShowNavigationToolTip="true" UrlPageIndexName="pageindex" PageSize="12" ></webdiyer:aspnetpager>
<br />
</ContentTemplate>
</asp:UpdatePanel></div>
...全文
63 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
eHuaTian 2010-01-13
  • 打赏
  • 举报
回复
有人回答吗?

110,539

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧