I am attempting to dinamically add multiple user controls to the same placeholder based on information recieved from the database. Compilation works but both usercontrols are created one on top of the other. Any suggestions
From http://www.developmentnow.com/g/36_0_0_0_0_0/dotnet-languages-csharp.ht
Nicholas Paldino [.NET/C# MVP] - 27 Feb 2008 17:09 GMT
Sean,
What do you mean the same placeholder? Do you mean the same location?
If that is the case, then what do you expect if the user controls are in the
same position? One is going to have to overlap the other.
What is the behavior you expect? Do you have regions that you believe
are transparent on the controls which you think should reveal the controls
underneath? If so, then how are you declaring those regions transparent?

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>I am attempting to dinamically add multiple user controls to the same
>placeholder based on information recieved from the database. Compilation
[quoted text clipped - 6 lines]
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
Peter Bromberg [C# MVP] - 27 Feb 2008 21:32 GMT
Sean,
This really sounds like it belongs in the ASP.NET newsgroup, not the C#
language group. You can add any number of controls to a Placeholder control,
what you need to do is add say, an HtmlGenericControl("br") in between, or
any other way you want to separate the rendered layout of the generated page
HTML.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
> I am attempting to dinamically add multiple user controls to the same placeholder based on information recieved from the database. Compilation works but both usercontrols are created one on top of the other. Any suggestions?
>
> From http://www.developmentnow.com/g/36_0_0_0_0_0/dotnet-languages-csharp.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com