Life cycle of ASP.NET page when a request is made ?

Answers were Sorted based on User's Feedback



Life cycle of ASP.NET page when a request is made ?..

Answer / senthil kumar

These are the steps in the asp.net life cycle
init()
load()
prerender()
unload()

Is This Answer Correct ?    5 Yes 3 No

Life cycle of ASP.NET page when a request is made ?..

Answer / sumeet kalra

Page Request
Start
page initialization
validation
postback event handling
rendering
unload

Is This Answer Correct ?    2 Yes 0 No

Life cycle of ASP.NET page when a request is made ?..

Answer / sudhir sheoran

1. instantiation: Page class/Page control tree is formed.

2. Initialization:Controls statically declared in aspx
file will be initialized to their default values.
No view state information at this level.

3. Load View State: It contains the state of controls
of a page,when the last time the page was
processed on the server.

4. PostBack Data Porcessing: It loads the poasted
data values.

5. Page load:If the request is postback, the controls are
loaded with the information recovered from view state.

6. Pastback change Notification: If some submit event takes
place then the pageframe work calls raise postback
events.

7. Post back event handling

8. View state saving: All the values in the controls
will be saved to their view states.

9. Render: This method takes HTML Writer object and
use it to accumulate all HTML text to be generated
for a control.
The page calls render method for each control providing
a text writer that writes output to the output stream
object of page response property.

10. Unload: Response is sent back to the client.

Is This Answer Correct ?    2 Yes 0 No

Life cycle of ASP.NET page when a request is made ?..

Answer / pramod sahoo,orissa

In Asp.net 2.0 11 events............in asp.net page lifeCycle.

preinit()
init()
initcomplite()

preload()
load()
loadcomplite()

PreRender()
PreRenderComplite()

SaveviewState()
saveviewStateComplite()

Render()

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

What is difference cookie and session?

0 Answers  


What is difference between web api and web services?

0 Answers  


what if we delete web.config or machine.config? will a website work if we delete webconfig....or if we delete machine config?

4 Answers   TCS,


Explain what are delegates?

0 Answers  


I am opening Crystal Report in asp.Net 3.5. Report is opening very well but when I click on Refresh button of Crystal Report then it gives "Missing Parameter values" I also tried property of CR Viewer like crViewer.ReuseParameterValuesOnRefresh = True But it is not working. Plz give me solution.

1 Answers  


Where do we store our connection string in asp.net application?

0 Answers  


What is asp net application object?

0 Answers  


How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

0 Answers  


how many session modes are available?some brief explnation

1 Answers  


What’s difference between “optimistic” and “pessimistic” locking?

0 Answers  


Who will magage un-managed code?

7 Answers   HP,


Explain cashing in asp.net.

0 Answers  


Categories