Wednesday, 11 March 2015

ASP.NET  Page Life Cycle
Request Passes Through HTTP Pipe Line

This Start Page Life Cycle
ASP.NET Page Life Cycle Begins
Page Life Cycle - Initialization
Set Postback properties
Unique ID for Each Control in the Page
Themes needs to be initialized
Dynamic control need to be created

Page Life Cycle - Load
If the Request is the post back request then it loads data from View States and Control State
Page Life Cycle - Validation
Validate the pages Control
Updates the IsValid property
Page Life Cycle - Events
This will only fired if the request is an postback event.
Like, if the post back is happened for an Button Click. Button Click event will fired.
Page Life Cycle - Render
Before Rendering All View State data has been set.
Render() method for all control has been called and write the out put on output stream.

No comments:

Post a Comment