Hi,
What is PreRender event in ASP.NET?
Thanks.
What is PreRender event
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 14, 2011, 10:56 AM EDT
Prerender event is Raised after the Page object has created all controls that are required in order to render the page, including child controls of composite controls. The Page object raises the PreRender event on the Page object, and then recursively does the same for each child control. The PreRender event of individual controls occurs after the PreRender event of the page.
Please do not forget to mark "Accepted Answer".
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 14, 2011, 9:12 PM EDT
For every request to .aspx page the ASP.NET work processor will create a new instance of the corresponding page class object, once the request is executed the object of page class is destroyed automatically, the page object life cycle is controlled by its page life cycle events those are:
Sam HobbsRank #107 · 20.5K reputationPosted Oct 15, 2011, 4:45 PM EDT