I'm trying to create a templated control that has an array of data-bound templates, so you can write something like:
<pre>
<c:TemplatedControl runat="server" ...>
<ItemTemplate>
<Item><%# Container.Name %></Item>
<Item><%# Container.Id %></Item>
</ItemTemplate>
<HeaderTemplate>...</HeaderTemplate>
</c:TemplatedControl>
</pre>
So I need to get an array of ITemplates to my control and they have to be data-bound using TemplateContainerAttribute to the the correct data type.
Has anyone done somthing like this, or can you help me out? thanks
Martin Pernecky
NetPublisher CMS