Ques:- Page life cycle
Asked In :-
FUTURISM TECHNOLOGIES PVT, Sify Technologies, Promact Infotech, Unica Solutions, Adapty Solutions, SpotOn Software, Congruent Solution Inc, JNET Technologies, ThinkPalm Technologies (P), Anlage Infotech (I),
Right Answer:
The page life cycle in ASP.NET consists of the following stages:
1. **Page Request** - The page is requested by the user.
2. **Start** - The page initializes and determines whether it is a new request or a postback.
3. **Initialization** - Controls on the page are initialized.
4. **Load** - The page and its controls are loaded with data.
5. **Postback Event Handling** - If the request is a postback, events are handled.
6. **Rendering** - The page is prepared for display, and the HTML is generated.
7. **Unload** - Cleanup is performed, and resources are released.
The page life cycle in ASP.NET consists of the following stages:
1. **Page Request** - The page is requested by the user.
2. **Start** - The page initializes and determines whether it is a new request or a postback.
3. **Initialization** - Controls on the page are initialized.
4. **Load** - The page and its controls are loaded with data.
5. **Postback Event Handling** - If the request is a postback, events are handled.
6. **Rendering** - The page is prepared for display, and the HTML is generated.
7. **Unload** - Cleanup is performed, and resources are released.