Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Best event to load usercontrols in ASP.NET 2.0

Reply
Thread Tools

Best event to load usercontrols in ASP.NET 2.0

 
 
Nay
Guest
Posts: n/a
 
      02-25-2006
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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp.NET, Ajax, Usercontrols, Event bubbling m.bagattini@gmail.com ASP .Net 1 04-20-2008 05:27 AM
UserControls - Textbox Blur Event issue bsm ASP .Net 1 04-24-2007 03:18 PM
Failed To load viewstate when loading usercontrols j-in-uk ASP .Net 1 03-30-2007 05:47 AM
dynamically load usercontrols??? Kevin Yu ASP .Net Web Controls 2 01-27-2005 10:45 AM
Problem with adding UserControls programtic in the OnPreRender event and still keep the UC viewState Flare ASP .Net 5 11-21-2003 06:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57