C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
7
Reply
Asp .net Page Life cycle?
Renjith V S
11y
6.3k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
https://msdn.microsoft.com/en-us/library/ms178472%28v=vs.85%29.aspx
Kml Surani
10y
1
In simple way page life cycle is a process make the page proper way watching, Suppose am go any another place take the Bus,Auto any type of Transport material. after the Finished left the auto, same as working in life cycle. Suppose we are request Page C-sharpcorner.com first of all Get the IIS server request and then further Process,Page Object Create like this type every process Begin PreInit End PreInit Begin Init End Init Begin InitComplete End InitComplete Begin PreLoad End PreLoad Begin Load End Load Begin LoadComplete End LoadComplete Begin PreRender End PreRender
Joginder Banger
11y
1
Followingare the main events of ASP.net page life cycle1)Preinit 2)Init 3)Preload 4)Load 5)Control Events 6)LoadComplete 7)Prerender 8)Render 9)Unload
Gaurav Jain
10y
0
We can easily define the ASP.NET life Cycle easily with the Simple Word Silver 1.Start 2.Init 3.Load 4.Validate 5.Render.
Yatendra Sharma
10y
0
We can define the ASP.NET life by the SILVER word easily 1.Start 2.Init 3.Load 4.Validate 5.Event 6.Render
Yatendra Sharma
10y
0
Page request - When ASP.NET gets a page request, it decides whether to parse and compile the page, or there would be a cached version of the page; accordingly the response is sent.Starting of page life cycle - At this stage, the Request and Response objects are set. If the request is an old request or post back, the IsPostBack property of the page is set to true. The UICulture property of the page is also set.Page initialization - At this stage, the controls on the page are assigned unique ID by setting the UniqueID property and the themes are applied. For a new request, postback data is loaded and the control properties are restored to the view-state values.Page load - At this stage, control properties are set using the view state and control state values.Validation - Validate method of the validation control is called and on its successful execution, the IsValid property of the page is set to true.Postback event handling - If the request is a postback (old request), the related event handler is invoked.Page rendering - At this stage, view state for the page and all controls are saved. The page calls the Render method for each control and the output of rendering is written to the OutputStream class of the Response property of page.Unload - The rendered page is sent to the client and page properties, such as Response and Request, are unloaded and all cleanup done.
Nitin Choudhary
10y
0
Go to this link 1. http://msdn.microsoft.com/en-us/LIBRARY/ms178472.ASPX 2. http://stackoverflow.com/questions/8457297/best-way-to-explain-asp-net-page-life-cycle
Khan Abrar Ahmed
11y
0
Collections and Generics in .net?
Page life cycle in ASP .NET?
Message