4
Reply

What methods are fired during the page load?

partap mehra

partap mehra

18y
14.1k
0
Reply

    Below are the Events/Method after Page_PreRender

    View State Saving

    SaveViewState

    Page Rendering

    Page_Render

    Page Unloading

    Page_UnLoad



    Stages and corresponding events in the life cycle of the ASP.NET page cycle:

    Stage

    Events/Method

    Page Initialization

    Page_Init

    View State Loading

    LoadViewState

    Postback data processing

    LoadPostData

    Page Loading

    Page_Load

    PostBack Change Notification

    RaisePostDataChangedEvent

    PostBack Event Handling

    RaisePostBackEvent

    Page Pre Rendering Phase

    Page_PreRender

    i just would like to add one more important thing viewstate is available after init() and before load() method

    Following methods are executed when the page is loaded:

    1. Init() - when the page is instantiated
    2. Load() - when the page is loaded into server memory
    3. PreRender() - the brief moment before the page is displayed to the user as HTML
    4. Unload() - when page finishes loading.