7
Reply

Asp .net Page Life cycle?

Renjith V S

Renjith V S

Mar 27, 2014
3.5k
0

    https://msdn.microsoft.com/en-us/library/ms178472%28v=vs.85%29.aspx

    Kml Surani
    April 15, 2015
    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
    April 08, 2014
    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
    June 25, 2015
    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
    June 02, 2015
    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
    June 02, 2015
    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
    January 20, 2015
    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
    April 06, 2014
    0