What are the page life cycle events?
Answer / Rahil Saeed
The ASP.NET page life cycle consists of several events that occur as a user interacts with a web application:
1. Request: The HTTP request is received by the server and an instance of the page class is created to handle the request.
2. Start: Initialization and data binding take place during this event, as well as setting up view state and control state.
3. Init: Controls are initialized during this event, and their properties are set to default values if not explicitly set elsewhere.
4. LoadViewState: The view state is loaded for each control on the page.
5. LoadPostData: Any form data submitted by the user is processed during this event.
6. RaisePostBackEvent: If a postback event was triggered (such as clicking a button), it's handled during this event.
7. SaveViewState: The view state for each control on the page is saved before rendering the HTML.
8. Render: The HTML for the page and its controls is generated during this event, which is then sent to the user's browser.
9. Unload: Cleanup tasks such as disposing of objects are performed during this event.
| Is This Answer Correct ? | 0 Yes | 0 No |
when using personlization, how do you access over setting at runtime?
what is webservices. howit is use in our project .
Using Statement usage in C#
What are the Types of authentications in IIS
How Web Service help? What is the difference between Remoting & Web Servcies?
What is query string?
Difference between windows application and web application? Which is the best for updation purpose?
State differences between MVC and WebAPI
Which property is used to identify the Page is Post Back in ASP.NET?
1 Answers Sans Pareil IT Services,
How do session tokens work?
What is Assert Method ?
how to handle sql exceptions?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)