ASP.Net Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 393 Page Views: 

Name the methods which are fired while the page is being loaded?



Posted By: Avi Date: 1 October 2010 04:17:19 PM
 Answer:

The following methods are fired:- 1. Init():- This event is fired when the page is instantiated. It is fired reclusively for the page itself and the other child pages. During this ti,e server will create an instance of the server control. 2. Load():- This method is fired when the page is loaded into the server memory. 3. PreRender():- This is the brief moment before the page is displayed to the user where the objects are prerendered. This a good step where final modifiactions such as changing properties of controls or Tree structure can be done. 5. Unload():- This is the final step of the life cycle of asp.net page. It arrives just before the page is being dismissed. At this point all the refrences and resources are released.


Posted By: avibtech


Date: 1 October 2010 04:17:19 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image fK7g1t
Related Questions
ASP.Net : Which data type is supported by RangeValidator control?

Which data type is supported by RangeValidator control?

Three datatypes are supported, viz. , String, Integer and Date.
Category: ASP.Net Date: 10/5/2010 2:20:19 PM
ASP.Net : Is it possible for a user browsing a website to read Web.config or Global.asax files?

Is it possible for a user browsing a website to read Web.config or Global.asax files?

No, he can't read these files as access to these files is not possible. This is because the section ....
Category: ASP.Net Date: 10/5/2010 11:44:20 AM
ASP.Net : To display the data in repeater control which template should be used?

To display the data in repeater control which template should be used?

Item Template should be used.
Category: ASP.Net Date: 10/5/2010 9:34:19 AM
ASP.Net : How does the RaiseBubbleEvent works?

How does the RaiseBubbleEvent works?

RaiseBubbleEvent implementation is done with the help of control , which cannot be overridden. The e....
Category: ASP.Net Date: 10/5/2010 12:50:20 AM
ASP.Net : Diffrentiate between src and code behind?

Diffrentiate between src and code behind?

src:- It is an attribute where we mention the name of the code-behind class to dynamically compile a....
Category: ASP.Net Date: 10/5/2010 12:26:19 AM