Sponsored Links

Interview Questions



INTERVIEW QUESTIONS MICROSOFT ASP.NET DETAILS

Question: Life cycle of ASP?

Answer: Life Cycle of Asp.Net

Init
PageLoad
Pre Render
Page UnLoad

Category ASP.NET Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.2) By 8724 users
Added on 5/19/2013
Views 69865
Rate it!

Question: Life cycle of ASP?

Answer:

Life Cycle of Asp.Net

Init
PageLoad
Pre Render
Page UnLoad

Source: CoolInterview.com

Answered by: Arun Vijay | Date: 5/26/2008 | Contact Arun Vijay Contact Arun Vijay

Page Int
Page Load
Event Click
Page Prerender
Page Unload Source: CoolInterview.com

Answered by: Kiran | Date: 9/23/2008 | Contact Kiran Contact Kiran

page preinit
page init
page init complete
page preload
page load
page load complete
page prerender
page render
page save state complete
page unload Source: CoolInterview.com

Answered by: jitendra gupta | Date: 5/30/2009 | Contact jitendra gupta Contact jitendra gupta

Page Init
Page Load
Validation
Events
Pre Render
Page Unload Source: CoolInterview.com

Answered by: Karan | Date: 6/23/2009 | Contact Karan Contact Karan

There are 3 phase in Page life cycle(Page Construction)

1. Initilisation
2. Event Handler Execution
3. Rendering

1. Initilisation:
3 main events happen in this Phase:


PreInit
Init
InitComplete

2. Enent Handler execute
Preload
load
Controls events (Changed events, PostBackEvent and validation events are fired)
loadcomplete

3. Rendering

PreRender (the databind method is called)
Render(Each control calls its Render method and outputs HTML)

SaveState(happens after the ViewState for the page has been created and set)

Unload(After the markup is created for the whole page and sent back to the http application each object that was instantiated is unloaded and is available for garbage collection) Source: CoolInterview.com

Answered by: Sunil | Date: 7/10/2009 | Contact Sunil Contact Sunil

Page request
Start
Page initialization
Load
Validation
Postback event handling
Rendering
Unload Source: CoolInterview.com

Answered by: Azath | Date: 7/10/2009 | Contact Azath Contact Azath

Page Int
Page Load
Event Click
Page Prerender
Page Unload Source: CoolInterview.com

Answered by: Pallavi Virkar | Date: 7/12/2009 | Contact Pallavi Virkar Contact Pallavi Virkar

page_preinit
page_init
page_preload
page_load
page_prerender
page_render
page_unload Source: CoolInterview.com

Answered by: zaheera parveen | Date: 7/15/2009 | Contact zaheera parveen Contact zaheera parveen

ASP.Net Page Life Cycle - Stage Description:

Page request:
The page request occurs before the page life cycle begins. When the page is requested by a user, ASP.NET determines whether the page needs to be parsed and compiled (therefore beginning the life of a page), or whether a cached version of the page can be sent in response without running the page.

Start:
In the start step, page properties such as Request and Response are set. At this stage, the page also determines whether the request is a postback or a new request and sets the IsPostBack property. Additionally, during the start step, the page's UICulture property is set.

Page initialization:
During page initialization, controls on the page are available and each control's UniqueID property is set. Any themes are also applied to the page. If the current request is a postback, the postback data has not yet been loaded and control property values have not been restored to the values from view state.

Load:
During load, if the current request is a postback, control properties are loaded with information recovered from view state and control state.

Validation:
During validation, the Validate method of all validator controls is called, which sets the IsValid property of individual validator controls and of the page.

Postback event handling:
If the request is a postback, any event handlers are called.

Rendering:
Before rendering, view state is saved for the page and all controls. During the rendering phase, the page calls the Render method for each control, providing a text writer that writes its output to the OutputStream of the page's Response property.

Unload:
Unload is called after the page has been fully rendered, sent to the client, and is ready to be discarded. At this point, page properties such as Response and Request are unloaded and any cleanup is performed.
Source: CoolInterview.com

Answered by: Abhijeet Lakra | Date: 8/25/2009 | Contact Abhijeet Lakra Contact Abhijeet Lakra

ASP.Net Page Life Cycle - Events:

PreInit
Init
InitComplete
PreLoad
Load
Control events
LoadComplete
PreRender
SaveStateComplete
Render
Unload Source: CoolInterview.com

Answered by: Abhijeet Lakra | Date: 8/25/2009 | Contact Abhijeet Lakra Contact Abhijeet Lakra

Page_preinit()
Page_init()
Page_Load()
Page_Prerender()
Page_Unload() Source: CoolInterview.com

Answered by: Malli.Gali | Date: 9/1/2009 | Contact Malli.Gali Contact Malli.Gali

Page PreInit
page Init
Page Load
page PreRender
Page Render
page UnLoad Source: CoolInterview.com

Answered by: Vijay Thombare | Date: 10/13/2009 | Contact Vijay Thombare Contact Vijay Thombare

Init
Load
Cached Post Back Event
Pre-Render
UnLoad Source: CoolInterview.com

Answered by: Atif | Date: 1/24/2010 | Contact Atif Contact Atif


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.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
How can i configure DataAdapter to generate dataSet?
View Answer
what is .net?
View Answer
Describe the difference between a server control like a listbox & its HTML equilivant.
View Answer
When a user clicks on a “submit” button from a form where the ‘runat’ attribute is set to ‘server’.Put the following page events in the order in which they will fire:

Page_Load
Page_Unload
Page_Prerender
Page_Int
View Answer
what is the difference between webpage,webserver,website and web application ?
View Answer
Does web service has a state?
View Answer
How can we use web service web service in c# windows application that is developed in visual studio?
View Answer
Is there any limit for query string? if means what is the maximum size?.

View Answer
What is name space for xml in asp.net

View Answer
What is the default size cache?

View Answer
Can we use http handlers to upload a file in asp.net?

View Answer
What is the exact purpose of http handlers and interfaces?

View Answer
What is the difference between excute query and excute nonquery.?

View Answer
Difference beetween datagrid and datareader?

View Answer
What is the difference between excute query and excute nonquery.?

View Answer
Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?

View Answer
What is the trace in ASP.NET

View Answer
How do we connect to the 11S if we want to use it instead of the built in Web Server?

View Answer
I am searching a record in datagrid.if i enter any value it display record not found,if the record is not there.
but i enter Apostrophe it is showing error(Cannot perform 'Mod' operation on System.String and System.String)....how to clear this bug.....

View Answer
While searching a record in database it accepts all the letters and special characters.but,i enter Apostrophe it is showing error(Cannot perform 'Mod' operation on System.String and System.String) like this...
how to clear this bug?

View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All ASP.NET Interview Questions & Answers - Exam Mode / Learning Mode



User Options
India News Network

Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2024 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions