Life cycle of ASP.NET page when a request is made ?
Answer Posted / 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 |
Post New Answer View All Answers
What is form submit?
What are the parts of an http response?
What are the differences between the response.write() and response.output.write()?
What is anonymous authentication?
What does the orientation property do in a menu control?
Can you explain the importance of finalize method in .net?
What’s the catch?
What is preprocessor in .net? Where it use?
What are the versions of garbage collection?
What is the mvc framework?
How to manage different kinds of sessions in ASP.NET?
What are custom controls?
Explain the overview of asp.net?
Which of the following .NET framework supports Web API?
What is variable and constant in .net programming language?