Results 1 to 2 of 2

Thread: Page object and the Page lifeCycle

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Location
    Madrid
    Posts
    325

    Page object and the Page lifeCycle

    Hi,

    When a HttpRequest for a web page is made, at what point is the Page Class, of the requested page, is initialized.
    So , at what point of the cycle is the requested page object created.

    My guess is that, its the first thing that happens. At the very start of the page life cycle, the requested page object is instantiated, and then,...appart from other events that I do not fully understand, the Init event fires, and the pages´s controls are instantiated.

    So we would now have the page object and , I suppose a collection of all of its controls.

    These controls will be loaded with the information , that comes together in the viewstate.

    I believe that in a further event, the posted information, from the web page,(considering this is a post), updates the controls. Making these controls, somehow be marked and made to fire their control events.

    Okay my question is,
    How much of the above is true, and how much is rubbish? Or is it all rubbish?
    Cheers !

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Page object and the Page lifeCycle

    The complete "Request" life cycle is documented here http://msdn2.microsoft.com/en-us/lib...73(vs.80).aspx
    The Page object is created during the "request is processed by the HttpApplication pipeline" stage (see item # 10).

    This webpage describes the Page life cycle

    http://msdn2.microsoft.com/en-us/lib...72(VS.80).aspx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width