Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded DataRepeaters

Status
Not open for further replies.

figler

Programmer
Dec 26, 2001
155
US
This is trickier than I thought, since you can't use code render blocks within server tags (I think!).

here's an example of what i want to do:

<asp:repeater id=&quot;arepeater&quot; runat=&quot;server&quot;>
<itemtemplate>
<asp:repeater id=&quot;anotherrepeater&quot; runat=&quot;server&quot; memberID=<%#container.dataitem(&quot;nmemberID&quot;)%>
</asp:repeater>
</itemtemplate>
</asp:repeater>

any ideas on how to do this? i tried using _itemcreated method of &quot;arepeater&quot; to set a data source for &quot;anotherrepeater&quot; and databind(), but i get an error saying that &quot;anotherrepeater&quot; does not exist...

any ideas? thanks!! -brad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top