Friday, January 22, 2010

Life cycle of controls in asp.net?

The life cycle of controls is associated with page life cyle.


Check this.





1)Init--- after reconstruction of all the controls , here


the properties of the controls are set





2)load-- databinding is done(when viewstate of controls are disabled)





3)pre-render-- controls can register script blocks





4)render





5)unload-- clean up code





Hope this may help you.Life cycle of controls in asp.net?
Check out ASP.NET Page Life Cycle Overview from http://msdn2.microsoft.com/en-US/library鈥?/a>

No comments:

Post a Comment