父级Updatepanel更新了问题

编程入门 行业动态 更新时间:2024-10-27 15:21:49
本文介绍了父级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更新了问题

本文发布于:2023-11-25 00:19:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627523.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:父级   Updatepanel

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!