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
List the asp.net validation controls?
Explain difference between friend and protected friend?
What is the difference between cookie and session?
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
What is the difference between Hash table and Array list?
What are the new data controls in asp.net 2.0?
What is clickid?
How can we identify that the Page is Post Back?
Write a code snippet to implement the indentation in json in web api.
Is data edited in the Repeater control?
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
Can you change a master page dynamically at runtime? How?
Difference between singleton and singlecall.
Whats the difference between abstract factory pattern and factory pattern?