Click here to Skip to main content
15,904,926 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi every one.

i want an event for page that fire after all events.

for exapmle if i clicked a button, first event that fired is :

C#
protected void Page_Load(object sender, EventArgs e)
        {}



And ... so we arrive to :
C#
protected void Btn_Send_Click(object sender, EventArgs e)
        {}


I want to know if there is an event that fired after all of them, for page ?

Thanks in advance.
Posted

Here is a full Asp.Net Page life cycle events[^] MSDN article.
And youtube demo.http://www.youtube.com/watch?v=PA_KYoF9KPo[^]
 
Share this answer
 
Comments
thatraja 2-Jul-11 10:09am    
You beat me to it man. 5!
Wonde Tadesse 2-Jul-11 10:16am    
Thanks man.
RaviRanjanKr 2-Jul-11 14:06pm    
Nice Link! My 5 :)
Wonde Tadesse 2-Jul-11 14:55pm    
Thanks
arminamini 3-Jul-11 1:03am    
Great, thanks.
You can look for PreRender or Unload event.
 
Share this answer
 
Comments
arminamini 3-Jul-11 1:03am    
Thank u.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900