adspace
Answer Posted / Rahil Saeed
The ASP.NET page life cycle consists of several events that occur as a user interacts with a web application:
1. Request: The HTTP request is received by the server and an instance of the page class is created to handle the request.
2. Start: Initialization and data binding take place during this event, as well as setting up view state and control state.
3. Init: Controls are initialized during this event, and their properties are set to default values if not explicitly set elsewhere.
4. LoadViewState: The view state is loaded for each control on the page.
5. LoadPostData: Any form data submitted by the user is processed during this event.
6. RaisePostBackEvent: If a postback event was triggered (such as clicking a button), it's handled during this event.
7. SaveViewState: The view state for each control on the page is saved before rendering the HTML.
8. Render: The HTML for the page and its controls is generated during this event, which is then sent to the user's browser.
9. Unload: Cleanup tasks such as disposing of objects are performed during this event.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What do you mean by query string?