GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET

 Print  |  
Question:  ASP .Net Page Life Cycle

Answer: Explain the life cycle of an ASP .NET page.


August 08, 2009 04:24:55 #9
 sathin   Member Since: August 2009    Total Comments: 6 

RE: ASP .Net Page Life Cycle
 

Set of subprograms that are executed towards each time of web page processing
are called "page life cycle events"


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

Closing database connection

     

 

Back To Question