更新面板触发器 [英] Update panel trigger

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

问题描述

Hello All,



我可以将page_Load事件添加为更新面板的触发器吗?

Hello All,

Can I add page_Load event as a trigger of update panel?

推荐答案

添加page_Load事件作为更新窗格的触发器



您是否了解了触发器的作用以及更新面板的工作原理?快速阅读此处。 [ ^ ]



更新面板用于部分渲染。如果你需要执行某种方法,你总是可以在触发的控件事件中写一下(并且相关的UI必须在更新面板内)



你需要确保您的页面设计。如果有任何触发Pageload的方案没有任何意义。
add page_Load event as a trigger of update pane

Have you read on what triggers do and how update panel works? Have a quick read here.[^]

Update Panel is for partial rendering. In case you need to execute a certain method you can always write about that in the triggered control event (and the UI related must be inside update panel)

You need to make sure about your page design. Having a scenario if any to trigger a Pageload does not make any sense.


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

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