Microsoft
Software
Hardware
Network
Question : How to access a repeater inside a repeater.
I have a repeater inside a repeater:
<asp:Repeater id="RepeaterA" runat="server">
<ItemTemplate>
<p>
<%# DataBinder.Eval(Container.
DataItem, "Field1") %>
</p>
<asp:Repeater ID="RepeaterB" datasource='<%# ((DataRowView)Container.Da
taItem).Ro
w.GetChild
Rows("Rela
tion") %>' runat="server">
<ItemTemplate>
<asp:CheckBox ID="CheckBox" runat="server" Text="" />
</ItemTemplate>
</asp:Repeater>
</ItemTemplate>
</asp:Repeater>
How can I access the control CheckBox? I only see RepeaterA from my C# code.
Kevin
Answer : How to access a repeater inside a repeater.
You can use the itemdatabound event for looking in each dataitem within repeaterA and then for repeaterB
Random Solutions
Mail stuck in Lotus oubox
Mirror Hard Drive
DHCP Client service keeps stopping when you reboot.
Redirecting Users Based on Input
Slow network
IAS Server not responding
Windows XP Taskbar won't auto-hide
Windows Server 2008 - hangs on collecting data, i can't install/uninstall any applications, etc
SCCM Scan agent fails with Scan Failed for ToolUniqueID with error 0x80070005
Linq and new features design in VS 2008