父级Updatepanel更新了问题 [英] Parent Updatepanel updated problem

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

问题描述



在我的aspx页面中,我有一个usercontrol(ascx).在此用户控件中,此更新面板中有一个更新面板,它还有另一个更新面板.如果从子更新面板生成了任何异步回发,则父updatepanel也将更新.我该如何解决这个问题.

注意:我已在服务器端的aspx页面中添加了此usercontrol(ascx).


谢谢
Velkumar

Hi,

In my aspx page I have a usercontrol(ascx). In this usercontrol there is an updatepanel inside this updatepanel it has another updatepanel. If any asyn postback generated from child update panel the parent updatepanel will also updated. How can i solve this problem.

Note: I have added this usercontrol(ascx) in the aspx page from server side.


Thanks
Velkumar

推荐答案

设置父级updatepanel的此属性
set this property of parent updatepanel
UpdateMode="Conditional"






and

ChildrenAsTriggers="False"



我认为这必须解决您的问题



i think this must solve your problem


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

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