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
Automatically do a release build
How can you search e-mail within Outlook 2010 and not use the index?
Windows can't find "msconfig"
vmware player shows black screen on win 2003 server
Adding a doc file into a Report
Microsoft Office 2007 Clip art disappeared
Cannot access Windows 2008 DFS links from Windows 2003
PowerPoint Viewer 2010 Full Screen Mode by Default
Access form - Using Sum function to validate records
Understanding Analog Telephone Adaptors