ControlBuilders and Templates

G

Geoff Taylor

Hi,

How do I run a ControlBuilder inside a template?

Say I have a tag derived from DataList. I want to be able to use the
ControlBuilder to allow the page developer to use special tags. For
example:

<opgeek:Tasks runat="server" ...>
<ItemTemplate>
<TaskLink><Title/><TaskLink>
<br />
Due: <b><DueDate/></b>
</ItemTemplate>
</opgeek:Tasks>

I can happily use a ControlBuilder to interpret TaskLink, Title, etc. if
they're inside a control of mine (I just set the
ControlBuilderAttribute). But I can't figure out how to do it if the
tags are within a template such as ItemTemplate.

Any ideas?

Geoff
 

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,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top