nested controls

M

mr. App

I'm trying to do the following:
<ctl:Control1 id=a1 runat=server>
<ctl:Control2 id=a2 runat=server Text="temp" />
</ctl:Control1>

Both controls are simple custom web controls. The problem is that the inner
control is not being rendered. I read in MSDN that I have to add
[PersistChildren(true), ParseChildren(false)] but is also didn't help.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top