FineUI 官方论坛
标题:
tab 控件中 grid分页的问题
[打印本页]
作者:
Enter
时间:
2013-4-14 11:27
标题:
tab 控件中 grid分页的问题
[attach]2073[/attach][attach]2072[/attach]
为什么第二个tab里边的页码情况不显示?
作者:
Enter
时间:
2013-4-14 11:34
<x:TabStrip ID="mainTab" runat="server"
AutoPostBack="True" OnTabIndexChanged="mainTab_TabIndexChanged">
<Tabs>
<x:Tab ID="
Info3" runat="server" BodyPadding="5px" Title="全部问题" EnableBackgroundColor="False" >
<Items>
<x:Grid ID="Grid1" runat="server" AllowPaging="True"
EnableCheckBoxSelect="True" EnableMultiSelect="False" EnableRowNumber="True"
Height="420px" PageSize="5" PageIndex="0"
DataKeyNames="ID"
ShowHeader="False" IsDatabasePaging="True"
OnPageIndexChange="Grid1_PageIndexChange" >
<Columns>
<x:BoundField ColumnID="ct0" DataField="ID" HeaderText="问题编号" />
<x:WindowField ColumnID="myWindowField" Width="60px" WindowID="Window1"
Icon="
encil" ToolTip="详细" DataTextFormatString="{0}" DataIFrameUrlFields="Id"
DataIFrameUrlFormatString="Detail.aspx?id={0}" DataWindowTitleField="Name"
DataWindowTitleFormatString="编辑 - {0}" HeaderText="详细信息" />
<x:BoundField ColumnID="ct1" DataField="Description1" HeaderText="问题概述" />
<x:BoundField ColumnID="ct2" DataField="SysName1" HeaderText="模块名称" />
<x:BoundField ColumnID="ct3" DataField="Kind1" HeaderText="问题类型" />
<x:BoundField ColumnID="ct4" DataField="Advice1" HeaderText="处理意见" />
<x:BoundField ColumnID="ct5" DataField="UsrName1" HeaderText="业务人员" />
<x:BoundField ColumnID="ct6" DataField="
hone1" HeaderText="联系电话" />
<x:BoundField ColumnID="ct7" DataField="Date1" HeaderText="提交时间" />
<x:BoundField ColumnID="ct8" DataField="Date2" HeaderText="要求时间" />
<x:BoundField ColumnID="ct9" DataField="Name1" HeaderText="提交人" />
<x:BoundField ColumnID="ct10" DataField="Name2" HeaderText="审核人" />
<x:BoundField ColumnID="ct11" DataField="Name3" HeaderText="处理工程师" />
<x:BoundField ColumnID="ct12" DataField="State1" HeaderText="问题状态" />
<x:BoundField ColumnID="ct13" DataField="Memo1" HeaderText="办理建议" />
</Columns>
</x:Grid>
</Items>
</x:Tab>
<x:Tab ID="
Info" runat="server" BodyPadding="5px" EnableBackgroundColor="False"
Title="未审核问题">
<Items>
<x:Grid ID="Grid2" runat="server"
EnableRowNumber="True" Title="Grid" ShowHeader="False"
EnableMultiSelect="False"
Height="420px" ShowBorder="False" EnableCheckBoxSelect="True"
AllowPaging="True" IsDatabasePaging="True"
OnPageIndexChange="Grid2_PageIndexChange" PageSize="5">
<Columns>
<x:BoundField ColumnID="ct0" DataField="ID" HeaderText="问题编号" />
<x:BoundField ColumnID="ct1" DataField="Description1" HeaderText="问题概述" />
<x:BoundField ColumnID="ct2" DataField="SysName1" HeaderText="模块名称" />
<x:BoundField ColumnID="ct3" DataField="Kind1" HeaderText="问题类型" />
<x:BoundField ColumnID="ct4" DataField="Advice1" HeaderText="处理意见" />
<x:BoundField ColumnID="ct5" DataField="UsrName1" HeaderText="业务人员" />
<x:BoundField ColumnID="ct6" DataField="
hone1" HeaderText="联系电话" />
<x:BoundField ColumnID="ct7" DataField="Date1" HeaderText="提交时间" />
<x:BoundField ColumnID="ct8" DataField="Date2" HeaderText="要求时间" />
<x:BoundField ColumnID="ct9" DataField="Name1" HeaderText="提交人" />
<x:BoundField ColumnID="ct10" DataField="Name2" HeaderText="审核人" />
<x:BoundField ColumnID="ct11" DataField="Name3" HeaderText="处理工程师" />
<x:BoundField ColumnID="ct12" DataField="State" HeaderText="问题状态" />
<x:BoundField ColumnID="ct13" DataField="Memo1" HeaderText="办理建议" />
</Columns>
</x:Grid>
</Items>
</x:Tab>
<x:Tab ID="
Info1" runat="server" Title="已审核问题">
<Items>
<x:Grid ID="Grid3" runat="server" EnableMultiSelect="False"
EnableRowNumber="True" ShowHeader="False" Title="Grid"
EnableCheckBoxSelect="True" Height="420px"
ShowBorder="False" AllowPaging="True" IsDatabasePaging="True"
OnPageIndexChange="Grid3_PageIndexChange" PageSize="5">
<Columns>
<x:BoundField ColumnID="ct0" DataField="ID" HeaderText="问题编号" />
<x:BoundField ColumnID="ct1" DataField="Description1" HeaderText="问题概述" />
<x:BoundField ColumnID="ct2" DataField="SysName1" HeaderText="模块名称" />
<x:BoundField ColumnID="ct3" DataField="Kind1" HeaderText="问题类型" />
<x:BoundField ColumnID="ct4" DataField="Advice1" HeaderText="处理意见" />
<x:BoundField ColumnID="ct5" DataField="UsrName1" HeaderText="业务人员" />
<x:BoundField ColumnID="ct6" DataField="
hone1" HeaderText="联系电话" />
<x:BoundField ColumnID="ct7" DataField="Date1" HeaderText="提交时间" />
<x:BoundField ColumnID="ct8" DataField="Date2" HeaderText="要求时间" />
<x:BoundField ColumnID="ct9" DataField="Name1" HeaderText="提交人" />
<x:BoundField ColumnID="ct10" DataField="Name2" HeaderText="审核人" />
<x:BoundField ColumnID="ct11" DataField="Name3" HeaderText="处理工程师" />
<x:BoundField ColumnID="ct12" DataField="State" HeaderText="问题状态" />
<x:BoundField ColumnID="ct13" DataField="Memo1" HeaderText="办理建议" />
</Columns>
</x:Grid>
</Items>
</x:Tab>
</Tabs>
</x:TabStrip>
</Items>
</x:GroupPanel>
</Items>
</x
anel>
作者:
Enter
时间:
2013-4-14 11:34
只是active的页面显示页面信息,其他的tab里边都不显示
作者:
Enter
时间:
2013-4-16 14:03
解决了,grid的宽度上就OK了!
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4