Best event to load usercontrols in ASP.NET 2.0

Discussion in 'ASP .Net Building Controls' started by Nay, Feb 25, 2006.

  1. Nay

    Nay Guest

    Hi
    My question is what is the best event in the page and in the user controls
    to dynamilly load the user controls, and why CreateChildControls is usually
    recomended only within "composite controls" and not the page itself or "user
    controls" that load other user controls dynamiclly? should I use the new
    events and events handlers of the pagelifecycle?

    I have a page that should dynamiclly load either Usercontrols and viewstate.
    The usercontrols themseves have to load child usercontrols and wire them
    events and other things which are "sensitive" to the timing they are loaded.

    Thanks, nay
    Nay, Feb 25, 2006
    #1
    1. Advertising

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. Gummy
    Replies:
    0
    Views:
    321
    Gummy
    Sep 19, 2006
  2. j-in-uk
    Replies:
    1
    Views:
    323
    Muhammad Naveed Yaseen
    Mar 30, 2007
  3. Max2006
    Replies:
    3
    Views:
    346
    Steven Cheng[MSFT]
    Jul 18, 2007
  4. Replies:
    1
    Views:
    353
    bruce barker
    Apr 20, 2008
  5. Kevin Yu

    dynamically load usercontrols???

    Kevin Yu, Jan 24, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    86
    Mohamed El Ashmawy
    Jan 27, 2005
Loading...

Share This Page