FineUI 官方论坛
标题:
Grid分页问题,显示不出来
[打印本页]
作者:
快刀客
时间:
2014-4-10 08:45
标题:
Grid分页问题,显示不出来
<form id="form1" runat="server">
<f:PageManager AutoSizePanelID="panel1" runat="server" />
<f:Panel ID="panel1" runat="server" ShowBorder="false" ShowHeader="false">
<Items>
<f:Grid ID="gridPriceRuleInfo" runat="server" EnableFrame="true" ShowBorder="true" PageSize="10" ShowHeader="false" EnableCheckBoxSelect="true" DataKeyNames="ID,Title"
AllowPaging="true" AllowSorting="true" SortField="CategoryID" SortDirection="DESC" IsDatabasePaging="true">
<Toolbars>
<f:Toolbar ID="Toolbar1" runat="server">
<Items>
<f:TwinTriggerBox ID="ttbOption" runat="server" EmptyText="请输入搜索条件" ShowLabel="true" Label="名称" Trigger2Icon="Search" ShowTrigger1="true" ShowTrigger2="true" Trigger1Icon="Clear"></f:TwinTriggerBox>
<f:Button ID="btnAdd" runat="server" Text="添加" Icon="Add"></f:Button>
<f:Button ID="btnModify" runat="server" Text="修改" Icon="Pencil"></f:Button>
<f:Button ID="btnDelete" runat="server" Text="删除" Icon="Delete"></f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:RowNumberField Width="35px" EnablePagingNumber="true" />
<f:BoundField DataField="ID" SortField="UserName" Width="100px" HeaderText="序号" />
<f:BoundField DataField="CategoryID" Width="100px" HeaderText="所属类别" />
<f:BoundField DataField="Title" Width="400px" HeaderText="标题" />
<f:BoundField DataField="IsPublish" Width="100px" HeaderText="是否发布" />
<f:BoundField DataField="ViewNum" Width="100px" HeaderText="浏览次数" />
<f:BoundField DataField="UserID" Width="100px" HeaderText="责任编辑" />
<f:BoundField DataField="CreateTime" Width="100px" HeaderText="发布时间" />
</Columns>
<PageItems>
<f:ToolbarSeparator ID="tbs1" runat="server" />
<f:ToolbarText ID="toolbartext1" runat="server" Text="每页记录数"></f:ToolbarText>
<f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" runat="server">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="30" Value="30" />
<f:ListItem Text="50" Value="50" />
<f:ListItem Text="100" Value="100" />
</f:DropDownList>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
<f:Window ID="WindowAdd" runat="server" IsModal="true" Hidden="true" Target="Top" EnableResize="true"
EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank" Width="650px"
Height="450px">
</f:Window>
<f:Window ID="WindowEdit" runat="server" IsModal="true" Hidden="true" Target="Top" EnableResize="true"
EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank" Width="650px"
Height="450px">
</f:Window>
</form>
复制代码
显示如下图:
[attach]5009[/attach]
作者:
快刀客
时间:
2014-4-10 08:46
各位大大,请指教啊。。
作者:
zgyangkai
时间:
2014-4-10 13:06
检查一下FineUI 版本 和 ExtJS库 是不是相同的版本。
作者:
ngy0217
时间:
2014-5-14 10:44
我也有同样的问题:
C:\Documents and Settings\zdsoft\桌面\QQ图片20140513180157.jpg不显示页数
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4