日历页面渲染事件问题 [英] calender page render event issue

查看:119
本文介绍了日历页面渲染事件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,

我已使用Visual Studio的日历控件.总是在每个事件上调用日历控件的pagerender()事件.有什么解决方案可以将此调用限制在其他控件的每个事件触发上.

请尽快给我解决此问题的方法.

谢谢
sonal Patel

Hello Friends,

I have used Calender control of visual studio. pagerender() event of calender control is always call on each event. is there any solution to restrict this call on each event fire of other controls.

Please give me solution of this issue ASAP.

Thank you,
sonal Patel

推荐答案

添加日历后,日历将成为页面控件的一部分.现在,基于控件(每个)的渲染事件将参与Page生命周期.
根据任何其他控件的事件,如果页面被重建和呈现,则作为页面一部分的其他控件也将被呈现.

在这里查看页面生命周期的工作原理:
ASP的完整生命周期.网页和控件 [ ASP.NET应用程序和页面生命周期 [ ^ ]
MSDN:ASP.NET页面生命周期概述 [
Calendar is part of your page controls once you added it. Now, control''s (every) render based events would participate in Page life cycle.
ased on event of any other control, if page is reconstructed and rendered, other controls being part of the page too would get rendered.

Look here and see how page life cycle works:
Complete Lifecycle of an ASP.Net page and controls[^]
ASP.NET Application and Page Life Cycle[^]
MSDN: ASP.NET Page Life Cycle Overview[^]


这篇关于日历页面渲染事件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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