在gridview RowCommand中使用AsyncPostBackTrigger [英] using AsyncPostBackTrigger in gridview RowCommand

查看:67
本文介绍了在gridview RowCommand中使用AsyncPostBackTrigger的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在TemplateField中的网格内有一个网格视图我使用了链接按钮,当我使用更新面板时,该按钮无效。所以我试过AsyncPostBackTrigger但是它没有用我试过这个

 <  触发器 >  
< asp:AsyncPostBackTrigger ControlID = gvTenderList EventName = RowCommand < span class =code-keyword> / >
< /触发器 >



但它是没有任何帮助......

解决方案

using-gridview-controls-as-a- asyncpostbacktrigger / [ ^ ]



asyncpostbacktrigger-for-the-linkbutton-in-the -ater [ ^ ]



检查链接..希望它会有所帮助..


不要使用触发器

 <   asp:updatepanel     id   =  UpdatePanel1    runat   =  server    xmlns:asp   = #unknown >  
< contenttemplate < span class =code-keyword>>

< / contenttemplate >
< / asp:updatepanel >


i hav a grid view inside this grid in TemplateField i have used link button which is not working when i have used update panel. so i tried AsyncPostBackTrigger bt it is not working i have tried this

<Triggers>
     <asp:AsyncPostBackTrigger ControlID="gvTenderList" EventName="RowCommand" />
</Triggers>


but it is not working any help......

解决方案

using-gridview-controls-as-a-asyncpostbacktrigger/[^]

asyncpostbacktrigger-for-the-linkbutton-in-the-repeater[^]

Check the links..hope it will help..


Don't Use triggers

  <asp:updatepanel id="UpdatePanel1" runat="server" xmlns:asp="#unknown">
  <contenttemplate>

</contenttemplate>
  </asp:updatepanel>


这篇关于在gridview RowCommand中使用AsyncPostBackTrigger的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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