通过在gridview上使用Modelpopup扩展程序来试图更新行时获取错误? [英] Getting Error while triying to update the row by using the Modelpopup extender on gridview ?

查看:55
本文介绍了通过在gridview上使用Modelpopup扩展程序来试图更新行时获取错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用modelpopup扩展程序控件编辑并将行添加到gridview但是当Am尝试编辑时,它将显示错误

GridView'GridViewMBOFuncObjDetalis'触发了未处理的事件RowEditing。

Am using the modelpopup extender control to Edit and add the row to gridview But when Am trying to Edit , it will show error
The GridView 'GridViewMBOFuncObjDetalis' fired event RowEditing which wasn't handled.

推荐答案

试试这个:



在标记中:

Try this:

In Markup:
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 

        AutoGenerateColumns="False" CellPadding="3" 

        onpageindexchanging="GridView1_PageIndexChanging" 

        onrowcommand="GridView1_RowCommand" onrowdeleting="GridView1_RowDeleting" 

        onrowediting="GridView1_RowEditing"> 
</asp:GridView>



< br $>




在Codebehind中:





In Codebehind:

protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
   {

   }


这篇关于通过在gridview上使用Modelpopup扩展程序来试图更新行时获取错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆