preRender事件不解雇 [英] PreRender event is not fired

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

问题描述

最近,我注意到,该Page_ preRender事件不会被解雇。如果保护覆盖无效在preRender 使用 - 一切都很好。自动装配启用和相同的code ...

Recently i've noticed, that the Page_PreRender event is not being fired. If protected override void OnPreRender is used - everything is fine. AutoWire is enabled and the same code performs just fine on another machine...

我应该在哪里挖?

推荐答案

有可能会导致它不火的几件事情

There are a few things that can cause it to not fire


  • Visible属性被设置为false

  • 到Response.End()

这篇关于preRender事件不解雇的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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