|
本帖最后由 niceshow123 于 2013-6-3 15:49 编辑
RT
页面a里有一个iframe,src=b.aspx
b页面里代码如下- <ext:Grid ID="Grid1" runat="server" EnableCheckBoxSelect="False" EnableRowNumber="True"
- Title="游客满意度表单查询" AllowPaging="True" DataKeyNames="rmid" AutoHeight="True"
- OnPageIndexChange="Grid1_PageIndexChange" OnRowCommand="Grid1_RowCommand" OnRowDataBound="Grid1_RowDataBound">
- <Columns>
- </ext:TemplateField>
- <ext:LinkButtonField Width="100px" HeaderText="删除" CommandName="doDelete" Text="删除该表单" ConfirmTitle="警告" ConfirmText="你将删除一条记录,确定要这么做吗?" ConfirmTarget="Parent"/>
- </Columns>
复制代码 后台代码:
- protected void Grid1_RowCommand(object sender, FineUI.GridCommandEventArgs e)
- {
- if (e.CommandName == "doDelete" )
- {
- TBNO.Text = String.Format("你点击了第 {0} 行,第 {1} 列,行命令是 {2}", e.RowIndex + 1, e.ColumnIndex + 1, e.CommandName);
- }
- }
复制代码
断点调试,发现
不触发OnRowCommand事件
,求指教
|
|