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...
 
Back
Top