Author: Ritesh Manglani | Posted on: 9/30/2009 7:33:42 AM | Views : 317

I was asked similar question in an interview recently, I searched on google and the usual answer I find for this question is:-

. Page_Init.
. Page Load.
. Control events
. Page- Unload event.

I thought of trying this myself, I wrote a Response.Write(<Event Name>) statement on all the page events and when I run the page. I get the following order:-

Page_PreInit
Page_Init
Page_InitComplete
Page_PreLoad
Page_Load
Page_LoadComplete
Page_PreRender
Page_PreRenderComplete
Page_SaveStateComplete
Page_Unload (Response.write doesn't work on Page_Unload but I know this event gets fired)
I am not sure if I understand the question correctly or I am doing a right thing by checking it like this. I would appreciate if someone can throw some light in this.
Thanks
Ritesh
...

Go to the complete details ...