ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Explain Page life cycle
 Question Submitted By :: Manjunath
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Explain Page life cycle
Answer
# 1
While excuting the page, it will go under the fallowing 
steps(or fires the events) which collectivly known as Page 
Life cycle.
Page_Init -- Page Initialization
LoadViewState -- View State Loading
LoadPostData -- Postback data processing
Page_Load -- Page Loading
RaisePostDataChangedEvent -- PostBack Change Notification
RaisePostBackEvent -- PostBack Event Handling
Page_PreRender -- Page Pre Rendering Phase
SaveViewState -- View State Saving
Page_Render -- Page Rendering 
Page_UnLoad -- Page Unloading
 
Is This Answer Correct ?    8 Yes 0 No
Shankar
 
  Re: Explain Page life cycle
Answer
# 2
Init
loading
TextboxTextchanged
buttonclic
pageunload
pagedispose


The page is intialize the events,after that the page is 
loading,after that controls is rised after page unloading 
and pagedispose is removing the unnecessary objects
 
Is This Answer Correct ?    0 Yes 4 No
Kavitha
 
 
 
  Re: Explain Page life cycle
Answer
# 3
sorry, kavitha answer is wrong. There is no textchange when 
loading a page
 
Is This Answer Correct ?    0 Yes 0 No
Shankar
 
  Re: Explain Page life cycle
Answer
# 4
init
load 
prerender
unload
 
Is This Answer Correct ?    1 Yes 0 No
Vijay
 
  Re: Explain Page life cycle
Answer
# 5
Page_Init()-when page is first inistiated.
Page_Load()-when page is first loaded to server
Page_PreRender()-Few moment befor while html code is viewed 
to user.
Page_unload()-Page is unloaded from server memory
 
Is This Answer Correct ?    1 Yes 0 No
Nutan
 
  Re: Explain Page life cycle
Answer
# 6
PreInit
 # Check the IsPostBack property to determine whether this 
  is the first time the page is being processed.

 # Create or re-create dynamic controls.

 # Set a master page dynamically.

 # Set the Theme property dynamically.
 
 # Read or set profile property values.

Init
  Raised after all controls have been initialized and any
skin settings have been applied. Use this event to read or
initialize control properties.

InitComplete
 Raised by the Page object. Use this event for processing
tasks that require all initialization be complete.

PreLoad
 Use this event if you need to perform processing on your
page or control before the Load event. 

Load
 Use the OnLoad event method to set properties in controls
and establish database connections.

LoadComplete
 Use this event for tasks that require that all other
controls on the page be loaded.

PreRender
 The PreRender event occurs for each control on the page.
Use the event to make final changes to the contents of the
page or its controls.

SaveStateComplete
 Use this event perform tasks that require view state to be
saved, but that do not make any changes to controls.

Render
 This is not an event; instead, at this stage of rocessing,
the Page object calls this method on each control. All
ASP.NET Web server controls have a Render method that writes
out the control's markup that is sent to the browser.

Unload
 This event occurs for each control and then for the page.
In controls, use this event to do final cleanup for pecific
controls, such as closing control-specific database connections.
 
Is This Answer Correct ?    3 Yes 0 No
Ish Rastogi
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Explain the differences between Server-side and Client-side code?  3
How do we invoke queries from the application? Microsoft2
what is Disco?what it will do? Microsoft2
where can i gather the materials for MCP certification  1
How do you a replicate a set of controls across a number of ASP Pages  2
Types of store procedure in Sqlserver?  2
What is a DLL Hell Problem in .Net?  4
You need to retrieve data from a Microsoft SQL Server 2000. Currently you are using an oleDbConnection object to connect to the database server. You need to be able to retrieve the data from the database server in XML format. Which approach would be the most efficient? Select all that apply. Each answer constitutes part of the whole answer. a) Change to the SQL .NET provider. b) Use the ExecuteXmlReader() method of the xxxCommand object c) Use the DOM to create the XML document. d) Use the XmlDocument.Load() method to create the XML Document. Syntax-Softtech1
What is the Global.asax used for?  7
what is diff between responseexpires and expiresabsolute Accenture2
What is the answer for "Which configuration Tool your using means" ? we have to tell about IIS or .Net Framework or VSS? Give me in brief ? eXensys2
What is runtime host ? Digital-GlobalSoft2
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?  6
About Windows/Forms Authentication  1
One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation . TCS6
Can you explain what inheritance is and an example of when you might use it?  1
What are the two properties that are common in every validation control?  4
What is the difference between <%#%> and <%=%>? IBS4
What is interval time of GC in .net  2
what is new debug tools in asp.net ?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com