Life cycle of ASP.NET page when a request is made ?
Answers were Sorted based on User's Feedback
These are the steps in the asp.net life cycle
init()
load()
prerender()
unload()
Is This Answer Correct ? | 5 Yes | 3 No |
Answer / sumeet kalra
Page Request
Start
page initialization
validation
postback event handling
rendering
unload
Is This Answer Correct ? | 2 Yes | 0 No |
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 |
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 |
Where viewstate value is stored in asp.net?
How many web.copnfig can exists in a web application & which will be used ?
Explain the difference between Repeater and Data list control in ASP.NET?
How do you use css in asp.net?
HI, I have a very important query in mind. Please help me regarding this. I don't have any real time exp in .net. But I have a knowledge it .net. I got an offer from an MNC company as a software developer has I had kept 2 years of fake exp. Even though for this job I had worked hard to crack interview for more then a year. So, I would like to know how difficult it will be for working in real time as I don't have real time exp. Please tell me as soon as possible bcoz I need to join by next month. Can i sustain over there for a longer time or not. And also let me know how to work pressure will be over there. Please help me regarding this. I'm getting tension thinking about it. Thank you.
What are session state modes in asp.net?
Differentiate globalization and localization.
how to create textboxes dynamically and insert textbox text into sql database
Explain the advantages of caching?
What is ipostback?
Why is it important to maintain session state?
Define the term Scavenging in Caching?