G
Guest
Is it possible to get a value from the parent repeater from within a child
nested repeater? Here is an example of what I want to do, but can't figure
out how or if it's possible at all:
<asp:Repeater Runat="server">
<ItemTemplate>
...
<asp:Repeater Runat="server" DataSource='<%# GetData(
DataBinder.Eval(Container.DataItem, "ID")) %>'>
<ItemTemplate>
...
<%# DataBinder.Eval(Container.DataItem, "PARENTID") %> 'FROM PARENT
</ItemTemplate>
</asp:Repeater>
In the child repeater, I want to use a value "PARENTID" that comes from the
parent of this repeater. Is this possible?
Thanks much.
nested repeater? Here is an example of what I want to do, but can't figure
out how or if it's possible at all:
<asp:Repeater Runat="server">
<ItemTemplate>
...
<asp:Repeater Runat="server" DataSource='<%# GetData(
DataBinder.Eval(Container.DataItem, "ID")) %>'>
<ItemTemplate>
...
<%# DataBinder.Eval(Container.DataItem, "PARENTID") %> 'FROM PARENT
</ItemTemplate>
</asp:Repeater>
In the child repeater, I want to use a value "PARENTID" that comes from the
parent of this repeater. Is this possible?
Thanks much.