RowCommand不在第二次触发 [英] RowCommand not firing on second time

查看:79
本文介绍了RowCommand不在第二次触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在添加这样的TemplateField

I am adding a TemplateField like this

<asp:TemplateField>
    <ItemTemplate>
        <asp:LinkButton id="Delete" CommandName="Delete"  Text="Delete" runat="server" />
    </ItemTemplate>
</asp:TemplateField>




单击删除"按钮时,"RowCommand事件未触发".我不明白问题所在.

一旦应用程序关闭并再次打开,则第一次触发事件,然后不再触发.

请提供解决方案.




When Delete Button clicked, RowCommand Event Not Firing. I do not understand the problem.

Once the Application is closed and opened again, the first time the event firing and then it is not firing.

Please give a solution.

推荐答案

表单上是否有任何验证控件
Is there any validation control on form


这篇关于RowCommand不在第二次触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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