G
Geoff Taylor
Hi,
OK, so no-one can answer the question below. That's OK, it's pretty
complicated. But can anyone point me at a mailing list or newsgroup
that might be able to answer or help?
Cheers,
Geoff
-------- Original Message --------
Subject: ControlBuilders and Templates
Date: Sat, 01 Nov 2003 19:06:17 +0000
From: Geoff Taylor <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingcontrols
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
OK, so no-one can answer the question below. That's OK, it's pretty
complicated. But can anyone point me at a mailing list or newsgroup
that might be able to answer or help?
Cheers,
Geoff
-------- Original Message --------
Subject: ControlBuilders and Templates
Date: Sat, 01 Nov 2003 19:06:17 +0000
From: Geoff Taylor <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingcontrols
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