how to add user controls
- From: "Ufit" <kot_tmp0SPAMSPAM@xxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 13:54:51 -0400
Asume I have panel on a webform and I created few user controls (.ascx)
How do I programaticaly add my user controls to that panel so it displays them
as some sort of controls list? I've tried instantiating class and adding by
panel.Controls.Add(mycontrol) but it doesnt work and nothing comes up.
Thanks for help.
Uf
.
- Follow-Ups:
- Re: how to add user controls
- From: PeterKellner
- Re: how to add user controls
- Prev by Date: Re: Best way to dump HTML strings to a page in ASP.Net?
- Next by Date: Re: UNIT TESTING FOR ASP.NET 2.0
- Previous by thread: Validators putting space in front of message
- Next by thread: Re: how to add user controls
- Index(es):
Relevant Pages
|