Asp.net page life cycle

Asp.NET Page Lifecycle



Page request: - this thing happens before the life cycle starts. When a page is requested by the user ASP.NET compile that page.

Start- Here the page properties like request and response are set.it also decide the Request type of the page.

Initialization: - here all control’s property will be set. And Master page will be Initialize here.

Load: - During this phase. If the Page Request is PostBack. Control properties will be loaded with information.

Post back event handling: - Here First thing Event Handler will be called. If(Page request == ispostback). After that, the validation method of all validation will be called.

Rendering: - Before this View, State is saved for all pages and controls. During the rendering stage, the page will call the render method.

Unload: - at this stage, the request page has been fully rendered and is ready to terminate. Then all properties will unload



Comments

Popular posts from this blog

Asp.Net Validation

Fundamental of OOPS From Scratch to End