HighTechTalks DotNet Forums  

Best event to load usercontrols in ASP.NET 2.0

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Best event to load usercontrols in ASP.NET 2.0 in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Nay
 
Posts: n/a

Default Best event to load usercontrols in ASP.NET 2.0 - 02-25-2006 , 04:45 AM






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





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.