Pages

Monday, May 27, 2013

PAGE LIFE CYCLE METHOD IN ASP.NET

Types of life cycle
1.page-preInit method
2.page-Init method
3.page-load method
4.postback event method
5.page-prerender method
6.Render method
7.unload method
8.save viewstate method
9.load view style

1.page-preInit method:

 In this method we can change the master page dynamically.

2.page-Init method:

 In this method page control Id  properties will be initialize.

3.page-load method:

 In this method all remaining properties of  page control will be initialize.

4.postback event method:

 This method will be executed only during postback(when user click on the button in the client side)

5.Render method:

 Render method is responsible for convert asp.net contorl code(html server side control ) into equivalent html code 


 
 

No comments:

Post a Comment