Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


Explain Page life cycle

Answers were Sorted based on User's Feedback



Explain Page life cycle..

Answer / shankar

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 ?    15 Yes 0 No

Explain Page life cycle..

Answer / ish rastogi

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 ?    9 Yes 0 No

Explain Page life cycle..

Answer / vijay

init
load
prerender
unload

Is This Answer Correct ?    5 Yes 0 No

Explain Page life cycle..

Answer / urvashi sharma

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 ?    4 Yes 0 No

Explain Page life cycle..

Answer / nutan

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 ?    3 Yes 1 No

Explain Page life cycle..

Answer / niraj bajaj bhadwaa

These answers explain only the page life cycle events and
or methods..

u shld explain as in... what happens when the page is
requested for the first time, abt fetching info from cache
from server back to client, etc...

Is This Answer Correct ?    0 Yes 0 No

Explain Page life cycle..

Answer / shankar

sorry, kavitha answer is wrong. There is no textchange when
loading a page

Is This Answer Correct ?    5 Yes 6 No

Explain Page life cycle..

Answer / kavitha

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 ?    2 Yes 13 No

Post New Answer



More ASP.NET Interview Questions

What is ViewState ? and how it is managed ?

1 Answers  


What is a postback in asp net?

0 Answers  


what are partial classes and their use?

1 Answers   Patni,


how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly

0 Answers  


Whats MSIL, and why should my developers need an appreciation of it if at all?

3 Answers   Siebel,






about view state and how validation controls will be executed on client and server

3 Answers   Wipro,


We have 2 sites in which one site allows the user with out asking credentials and second one ask for credentials through a log page. What might be the configurations settings for both sites? We can use IIS and web.config files together.

1 Answers   ADITI,


What is the difference between page-level caching and fragment caching?

0 Answers  


what is the MSIL assembler do?

1 Answers  


About DataAdapters ?

8 Answers   Accenture,


Which is the namespace used to write error message in event Log File?

1 Answers  


Define web.config in .net?

0 Answers  






Categories