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
Predicted harddrive failure
jquery validator and asp.net updatepanel
Move Sharepoint 2010 DB's from one server to another
disk IOP calculation
usercontrols, docking and scrolling problems
Changing C++ unmanaged DateTime to C# DateTime MYSQL db
Suitable Backup Solution requested
Subtract one day from other in java
Ajax or flash..For online Jewellery designer ?
Hyper-V virtual machine network performance issue. Trying to pinpoint possible cause.