MindFusion's Components
Home | Submit an interview question | Filter by category | Filter by job function | Filter by company
 
Member Information
User Id
Password
 
Forgot Password
Technology Category
.NET (1202)
Languages (103)
Database (146)
Operating System (48)
Reporting (5)
Third-Party Tools (2)
Testing (91)
OOP (75)
Web Development (40)
Design Patterns (89)
General (9)
Networking (88)
Hardware (63)
Brain Exercise (2)
Others (37)
 Our Network
.NET Heaven
C# Corner
Interview Corner
Longhorn Corner
Mindcracker
VB.NET Heaven
Home » .NET » .NET
what is event in .NET life cycle ?
Posted by Praveen Moosad Jul 19, 2009
Viewed : 811 times
Major Category : .NET
Minor Category : ASP.NET
Total Replies : 2
Powerful ASP.NET Hosting w/ NO Setup Fees. Click Here!
Become a Sponsor
 EDITORIAL ANSWER  
Praveen Moosad
Jul 19, 2009

four event are thier in .NET life cycle are

1:Page Init

2: Page Load

3: Page Perender

4 : Page Unload

1
 ANSWERS BY USERS  
Naresh Kanth
Jul 20, 2009

Event is an incident. It is something that happens at a given place and time.
For every request to .aspx page the ASP.NET work processor will create a new instance of the corresponding page class
object, once the request is executed the object of page class is destroyed automatically, the page object life cycle is controlled by its page life cycle events those are:

1 page_Init
2 page_Load
3 page_Prerender
4 Page_Unload

Page_init:

The Page_Init event is the first to occur when an ASP.NET page is executed.This is where you perform any initialization steps that you need to set up or create instances of server controls. This event fires only the first time the page is loaded. When you postback to any page, the Page_Init event doesn't fire.


Page_Load:

The Page_Load event fires each time the page loads, postback or not. This event occurs only when all the objects on the page have been created and are available for use.

Page_Prerender:

After page executed and before rendering the output values to the the requested browser this event executes

Page_Unload:

This event occurs for each control and then for the page when the page unloads.

  
1

 

 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Advertise with us
Current Version: 2.2009.3.2
 © 1999 - 2009  Mindcracker LLC. All Rights Reserved