.
In the ASP.NET runtime the life cycle of a page is marked by a series of events. In ASP.NET 1.x, based on user interaction a page request is sent to the Web server. The event that is initiated by the page request is Init. After the Init event, Load event is raised. Following the Load event, PreRender event is raised. Finally, the Unload event is raised and an output page is returned to the client.
ASP.NET 2.0 adds a few new events to allow you to follow the request processing more closely and precisely.
These new events are discussed in the following table.
New Events in ASP.NET 2.0:
PreInit
This occurs before the page begins initialization. This is the first event in the life of an ASP.NET 2.0 page.
InitComplete
This occurs when the page initialization is completed.
PreLoad
This occurs immediately after initialization and before the page begins loading the state information.
LoadComplete
This occurs at the end of the load stage of the page's life cycle.
PreRenderComplete
This occurs when the pre-rendering phase is complete and all child controls have been created. After this event, the personalization data and the view state are saved and the page renders to HTML.
Solution for the QlikView, Biztalk, DotNet and MSBI real time development problems
Search This Blog
Thursday, June 4, 2009
Subscribe to:
Posts (Atom)
Popular Posts
-
Qlikview developer, Designer and admin interview questions (Qlikview developer, Designer and admin FAQ’S) 1. Difference between Set ...
-
By default using the LINQ to SQL DataContext design surface (or the SQL Metal command line tool), all parameters are created for a Stored Pr...
-
When building controls dynamically which compose of sub-controls you can sometimes run into an problem where windows throws a “Error creati...
-
as is Is Operator is used to check the Compatibility of an Object with a given Type and it returns the result as a Boolean (True or ...
-
.Net Integration with Bill Desk Payment Gateway Introduction: Now-a-days online shopping websites has become very popular, and to h...