|
INTERVIEW QUESTIONS
MICROSOFT
DOTNET
DETAILS
Question: In what order do the events of an ASPX page execute. As a developer is it important to understand these events?
Answer: if you try to access it in Page_Load that is way earlier than Control's own Render method. See ther Page/control lifecycle goes like this for the Page and controls (being already in the controls collection, dynamic ones play catchup) 1. Instantiate 2. Initialize 3. TrackViewState 4. LoadViewState (postback) 5. Load postback data (postback, IPostBackDatahandler.LoadPostdata) 6. Load 7. Load postback data for dynamical controls added on Page_Load (postback) 8. Raise Changed Events (postback, IPostBackDatahandler.RaisePostDataChanged) 9. Raise postback event (postback, IPostBackEventHandler.RaisePostBackEvent) 10.PreRender 11. SaveViewState 12. Render 13. Unload 14. Dispose null
|
|
|
Category |
DotNet Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 10020 users |
Added on |
5/31/2011 |
Views |
77672 |
Rate it! |
|
|
Question:
In what order do the events of an ASPX page execute. As a developer is it important to understand these events?
Answer:
if you try to access it in Page_Load that is way earlier than Control's own Render method. See ther Page/control lifecycle goes like this for the Page and controls (being already in the controls collection, dynamic ones play catchup) 1. Instantiate 2. Initialize 3. TrackViewState 4. LoadViewState (postback) 5. Load postback data (postback, IPostBackDatahandler.LoadPostdata) 6. Load 7. Load postback data for dynamical controls added on Page_Load (postback) 8. Raise Changed Events (postback, IPostBackDatahandler.RaisePostDataChanged) 9. Raise postback event (postback, IPostBackEventHandler.RaisePostBackEvent) 10.PreRender 11. SaveViewState 12. Render 13. Unload 14. Dispose null Source: CoolInterview.com
if you try to access it in Page_Load that is way earlier than Control's own Render method. See ther Page/control lifecycle goes like this for the Page and controls (being already in the controls collection, dynamic ones play catchup)
1. Instantiate 2. Initialize 3. TrackViewState 4. LoadViewState (postback) 5. Load postback data (postback, IPostBackDatahandler.LoadPostdata) 6. Load 7. Load postback data for dynamical controls added on Page_Load (postback) 8. Raise Changed Events (postback, IPostBackDatahandler.RaisePostDataChanged) 9. Raise postback event (postback, IPostBackEventHandler.RaisePostBackEvent) 10.PreRender 11. SaveViewState 12. Render 13. Unload 14. Dispose null
Source: CoolInterview.com
Answered by: srinivas | Date: 8/9/2010
| Contact srinivas
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
|
View Answer
|
|
Can you edit data in the Repeater control?
|
View Answer
|
|
Which template must you provide, in order to display data in a Repeater control?
|
View Answer
|
|
How can you provide an alternating color scheme in a Repeater control?
|
View Answer
|
|
What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
|
View Answer
|
|
What base class do all Web Forms inherit from?
|
View Answer
|
|
What method do you use to explicitly kill a user session?
|
View Answer
|
|
Can you explain what inheritance is and an example of when you might use it?
|
View Answer
|
|
How do you turn off cookies for one page in your site?
|
View Answer
|
|
Which two properties are on every validation control?
|
View Answer
|
|
What tags do you need to add within the asp:datagrid tags to bind columns manually?
|
View Answer
|
|
How do you create a permanent cookie?
|
View Answer
|
|
What tag do you use to add a hyperlink column to the DataGrid?
|
View Answer
|
|
What is the standard you use to wrap up a call to a Web service
|
View Answer
|
|
Which method do you use to redirect the user to another page without performing a round trip to the client?
|
View Answer
|
|
What is the transport protocol you use to call a Web service SOAP
|
View Answer
|
|
True or False: A Web service can only be written in .NET
|
View Answer
|
|
What does WSDL stand for?
|
View Answer
|
|
What property do you have to set to tell the grid which page to go to when using
|
View Answer
|
|
What is the Pager object?
|
View Answer
|