G
Guest
Hi,
I hope somebody can give me a pointer to solve the following problem.
I want to dynamically load a web usercontrol (ascx) into a content control
of a content page which references a master page.
I have tried to place a PlaceHolder control first in the content section and
then load the user control and add it to the controls collection of the
PlaceHolder but the problem stays the same, the user control is not
displayed.
The code executes with out problem and while debugging I can see that the
user control is added to the collection but it never shows up on the rendered
page.
What am I doing wrong?
Thanks,
P.S. I am talking of course about the .NET 2.0 version
I hope somebody can give me a pointer to solve the following problem.
I want to dynamically load a web usercontrol (ascx) into a content control
of a content page which references a master page.
I have tried to place a PlaceHolder control first in the content section and
then load the user control and add it to the controls collection of the
PlaceHolder but the problem stays the same, the user control is not
displayed.
The code executes with out problem and while debugging I can see that the
user control is added to the collection but it never shows up on the rendered
page.
What am I doing wrong?
Thanks,
P.S. I am talking of course about the .NET 2.0 version