Hello,
What is PreRender Event ? When it occures and what is its importance ?
Sometimes I have to use this event to change the Selected Item in Drop Down List. I am not able to change it from Page Load event ?
Hi,
please see:ASP.NET Page Lifecycle Overview
Essentially PreRender event happens just before control/page renders itself. To be exact, Page's PreRenderComplete event is the last one in that cycle. Therefore PreRender stage's significance is in that it's the last place to change anything, so that changes contribute to page/control's state plus that they get rendered.
0 comments:
Post a Comment