FineUI 官方论坛
标题:
请问下我执行完ImageButton的OnCommand后,页面变成了一行代码?
[打印本页]
作者:
whw6263989
时间:
2013-5-21 17:53
标题:
请问下我执行完ImageButton的OnCommand后,页面变成了一行代码?
<x:Region ID="Region1" ShowBorder="false" ShowHeader="false" Split="true" EnableSplitTip="true"
CollapseMode="Mini" Margins="0 0 0 0" Width="200px" Position="Left" Layout="Fit"
runat="server">
<Items>
<x:Grid ID="Grid2" ShowBorder="true" ShowHeader="true" Title="表格(班级)" runat="server"
DataKeyNames="GROUP_ID" EnableMultiSelect="false" EnableRowSelect="true">
<Columns>
<x:BoundField DataField="GROUP_ID" HeaderText="组号" />
<x:TemplateField Width="60px">
<ItemTemplate>
<asp:ImageButton ID="imgBtn_OrderUp" runat="server" ImageUrl="~/images/向上.jpg" CommandName="OrderUp"
CommandArgument='<% #Eval("GROUP_ID") %>' />
<asp:ImageButton ID="imgBtn_OrderDown" runat="server" ImageUrl="~/images/向下.jpg"
CommandName="OrderDown" CommandArgument='<% #Eval("GROUP_ID") %>' />
</ItemTemplate>
</x:TemplateField>
</Columns>
</x:Grid>
</Items>
</x:Region>
执行完OnCommand后,页面只出现了一行代码:var x0=X('RegionPanel1_Region1_Grid2');X.state(x0,{"SelectedRowIndexArray":[1]});
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4