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  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 428 of 431    Print  
What is page life cycle in c#.net

  
Total Answers and Comments: 3 Last Update: July 27, 2008     Asked by: bidyut_das 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: rizwan_55555in
 

Process Request Method does following things:

  1. Intialize the memory
  2. Load the view state
  3. Page execution and post back events
  4. Rendering HTML content
  5. Releasing the memory

Process Request Method executes set of events for page class .These are called as Page life cycle events.

Page Life Cycle Events

  • Page_Init
    The server controls are loaded and initialized from the Web form's view state. This is the first step in a Web form's life cycle.
  • Page_Load
    The server controls are loaded in the page object. View state information is available at this point, so this is where you put code to change control settings or display text on the page.
  • Page_PreRender
    The application is about to render the page object.
  • Page_Unload
    The page is unloaded from memory.
  • Page_Disposed
    The page object is released from memory. This is the last event in the life of a page object.
  • Page_Error
    An unhandled exception occurs.
  • Page_AbortTransaction
    A transaction is aborted.
  • Page_CommitTransaction
    A transaction is accepted.
  • Page_DataBinding
    A server control on the page binds to a data source. 
  • Process Request Method finally renders HTML Page


submitted by :
Rizwan Ashraf Ansari (NIIT South - Ex Delhi)



Above answer was rated as good by the following members:
leokushnir
June 19, 2008 13:24:51   #1  
learner22 Member Since: March 2008   Contribution: 3    

RE: What is page life cycle in c#.net
The Various statges are: 1.Page request 2.Start 3.Page Initialization 4. Load 5.Validation 6.Postback event handling 7.Rendering 8.Unload
 
Is this answer useful? Yes | No
June 22, 2008 02:02:34   #2  
kamini jain Member Since: June 2008   Contribution: 1    

RE: What is page life cycle in c#.net

four type of life cycle in c#
1)page load
2)page init
3)page pre render
4)page unload


 
Is this answer useful? Yes | No
July 27, 2008 04:29:23   #3  
rizwan_55555in Member Since: July 2008   Contribution: 1    

RE: What is page life cycle in c#.net

Process Request Method does following things:

  1. Intialize the memory
  2. Load the view state
  3. Page execution and post back events
  4. Rendering HTML content
  5. Releasing the memory

Process Request Method executes set of events for page class .These are called as Page life cycle events.

Page Life Cycle Events

  • Page_Init
    The server controls are loaded and initialized from the Web form's view state. This is the first step in a Web form's life cycle.
  • Page_Load
    The server controls are loaded in the page object. View state information is available at this point, so this is where you put code to change control settings or display text on the page.
  • Page_PreRender
    The application is about to render the page object.
  • Page_Unload
    The page is unloaded from memory.
  • Page_Disposed
    The page object is released from memory. This is the last event in the life of a page object.
  • Page_Error
    An unhandled exception occurs.
  • Page_AbortTransaction
    A transaction is aborted.
  • Page_CommitTransaction
    A transaction is accepted.
  • Page_DataBinding
    A server control on the page binds to a data source. 
  • Process Request Method finally renders HTML Page


submitted by :
Rizwan Ashraf Ansari (NIIT South - Ex Delhi)


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape