Cascading repeaters

  • Thread starter Thread starter Mikael Engdahl
  • Start date Start date
M

Mikael Engdahl

Hello

Does anyone know if it is possible to use a Repeater control within
another one and setting it's datasource dynamically?

Example:

<asp:Repeater id="r1" runat="server">
<ItemTemplate>
<p>
<asp:Repeater id="r2" runat="server">
<%#DataBinder.Eval(Container.DataItem, "xxx")%>
</asp:Repeater>
</p>
</ItemTemplate>
</asp:Repeater>


And what I want is r2's datasource to be set on every iteration of r1...
 

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

Back
Top