I'm able to load a repeater control fine, but I need to nest another repeater inside the parent repeater, and I'm having trouble figuring out how to get the data to it.
I've seen an example from the Microsoft Knowledge Base, http://support.microsoft.com/kb/306154 but this example doesn't work with Entity Spaces. I know I need to change some things, but I'm stuck as to what. Also, unfortunately I cannot use esDataSource, because the production server only has SQL Server 2000.
Here's the example code for nesting a repeater that I'm following:
Code:
<asp:Repeater id="parentRepeater" runat="server">
<itemtemplate>
<b>
<%# DataBinder.Eval(Container.DataItem, "au_id") %>
</b>
<br>
<asp:repeater id="childRepeater" runat="server"
datasource='<%# ((DataRowView)Container.DataItem)
.Row.GetChildRows("myrelation") %>' >
<itemtemplate>
<%# DataBinder.Eval(Container.DataItem,
"[\"title_id\"]")%><br>
</itemtemplate>
</asp:Repeater>
</itemtemplate>
</asp:Repeater>
Any ideas?
King Wilder
http://www.kingwilder.com