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
Network issues loading company web-site
Google Analytics
ComboBox - Retrieving information from an Access table in Visual Basic
Exchange 2007 Connectivity problems
How can I rotate a video?
In Microsoft Office Communicator 2007 R2, the "View Conversation History" is grayed out. How do I enable this so that I can view previous chats?
How to run app on local machine and display results in web page
VPN split tunneling not working on ASA5510
install server 2003 over win7
Cannot re-enable firewall with group policy