如何生成void Page_PreRender() [英] how to generate void Page_PreRender()
本文介绍了如何生成void Page_PreRender()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
告诉我如何生成页面的PreRender事件?
tell me how to generate PreRender event of page??
推荐答案
我认为您可以在构造函数中连接另一个事件处理程序,但是如果您有自动事件连接打开后,您只需编写代码,框架便会自动调用它. Page_PreRender()无效,请使用参考书或您在线阅读的文章中的确切名称和签名.
You can hook up another event handler in a constructor, I think, but if you have the auto event hookup turned on, you just write the code and the framework calls it automatically. void Page_PreRender() is wrong tho, use the exact name and signature found in your reference books or the articles you''ve been reading online.
这篇关于如何生成void Page_PreRender()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文