Custom tags inside control

  • Thread starter Mike Gleason jr Couturier
  • Start date
M

Mike Gleason jr Couturier

Hi,

I would like to support a custom tag inside my custom control like this:

<cc1:MyControl id="x" runat="server">
<customTag prop1="x" prop2="e" />
<customTag prop1="y" prop2="d" />
<customTag prop1="z" prop2="c" />
<customTag prop1="a" prop2="b" />
</MyControl>

Just like the repeater with the <ItemTemplate>

Is there any article/keywords I can refer to, to learn further on the
subject?

Thanks!
 
P

Peter Bucher [MVP]

Hi there
I would like to support a custom tag inside my custom control like this:

<cc1:MyControl id="x" runat="server">
<customTag prop1="x" prop2="e" />
<customTag prop1="y" prop2="d" />
<customTag prop1="z" prop2="c" />
<customTag prop1="a" prop2="b" />
</MyControl>

Just like the repeater with the <ItemTemplate>

Is there any article/keywords I can refer to, to learn further on the
subject?
Yep there are.
Search for the Attributes "PersistenceMode" and "ParseChildren".
 

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

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,809
Members
48,797
Latest member
PeterSimpson
Top