User Control loading order

Discussion in 'ASP .Net Web Controls' started by jdn, Apr 8, 2004.

  1. jdn

    jdn Guest

    If you have multiple User Controls on a page, will they always be loaded in a specific order or is there a bit of randomness involved

    TI
    jdn
     
    jdn, Apr 8, 2004
    #1
    1. Advertisements

  2. Hi jdn,

    Based on my understanding, you want to know the load order of
    multi-usercontrols on the webform.

    For usercontrol, normally, it will be place on the form declaratively
    through html view. Then at runtime, the Asp.net will dynamically use
    ControlBuilder class to parse these html declaration, and build the control
    tree.

    So the load order should be the their order in the control tree, while the
    ControlBuilder will parse the html view from top to bottom, the load order
    should also determined by the order the usercontrols are declared in the
    html view. That is: first declared usercontrol will be loaded first.

    Thank you for your patience and cooperation. If you have any questions or
    concerns, please feel free to post it in the group. I am standing by to be
    of assistance.

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.
     
    Jeffrey Tan[MSFT], Apr 9, 2004
    #2
    1. Advertisements

  3. Hi jdn,

    Does my reply makes sense to you? Do you still have any concern?

    Please feel free to let me know, I will help you. Thanks

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.
     
    Jeffrey Tan[MSFT], Apr 13, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    4,608
  2. =?Utf-8?B?U3JpZGhhcg==?=
    Replies:
    1
    Views:
    540
    =?Utf-8?B?RWx0b24gVw==?=
    Nov 18, 2005
  3. Mad Scientist Jr
    Replies:
    0
    Views:
    873
    Mad Scientist Jr
    Mar 22, 2006
  4. Replies:
    0
    Views:
    2,211
  5. Replies:
    0
    Views:
    505
  6. Jonathan Wood

    User Control to Control Other User Control

    Jonathan Wood, Jan 24, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    794
    Jonathan Wood
    Feb 2, 2010
  7. Petr PALAS

    Loading user control from server control

    Petr PALAS, Jan 6, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    241
    Petr PALAS
    Jan 6, 2005
  8. ofir
    Replies:
    0
    Views:
    290
Loading...