Tuesday, 21 December 2010

ASP .Net Page Life Cycle

1. Page Request

2. Start

3. Page Initialization

4. Load

5. Validation

6. Postback and event Handling

7. Rendering

8. Unload


For The Page Execution Life Cycle Just Remember SILVER.
S-Start

I-Page Initialization

L-Load

V-Validation

E-Postback event handling

R-Rendering



Page Preinit
This will be executed before memory initialization for web page [before
constructing web page]

Attaching theme master page dynamically to webpage is possible using preinit
event proc

Page init
This will be executed when memory is initialized for webpage

Page load
This will be executed when submitted data and controls are loaded

Database connectivity reading submitted data can be placed within pageload

PagePrerender
This will be executed before rendering html content from server side control

Control behaviour can be changed b4 producing client side control

Page Unload
This will be executed once memory is released for webpage

No comments:

Post a Comment