从UpdatePanel2更新gridview [英] Update the gridview from UpdatePanel2

查看:106
本文介绍了从UpdatePanel2更新gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个UpdatePanel,第一个有一个gridview和一个sqldatasource,但当我尝试用这个更新gridview时:



UpdatePanel1.Update()< br $>


没有任何反应。



是否有命令从UpdatePanel2更新gridview?

I have two UpdatePanels the first has a gridview and a sqldatasource in it but when I try to update the gridview with this:

UpdatePanel1.Update()

Nothing happens.

Is there a command to update the gridview from UpdatePanel2?

推荐答案

亲爱的,

您必须使用并配置updatepanel触发器并将任何控件BUTTON,DROPDONWLIST作为触发器。

Dear,
You have to use and configure updatepanel triggers and give any control BUTTON,DROPDONWLIST as triggers.
<Triggers>

</Triggers>





ASP.NET Ajax扩展 - 使用触发器更新面板示例 [ ^ ]



以上链接将帮助您找到解决方案。

如果您有任何疑问,请告诉我。

请通过以上建议。

如果您的答案是,请标记为解决方案。

狩猎解决方案好运。



谢谢。

问候,

Manoj Kalla



ASP.NET Ajax Extension - Update Panel Example with Trigger[^]

above link will help you to find solutions.
Let me know if you have any further query.
Please, go through above suggestion.
If its your answer, please mark as solution.
Best of luck for hunting solutions.

Thank you.
Regards,
Manoj Kalla


这篇关于从UpdatePanel2更新gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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