Best event to load usercontrols in ASP.NET 2.0

N

Nay

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top