I'm using .Net 4.5, model binding and currently have a repeater, which contains another repeater.
<asp:Repeater ID="rptADivisions" runat="server" ItemType="abc.Division" SelectMethod="rptADivisions_GetData">
<ItemTemplate>
<div>
<%#: Item.DivisionName %>
<asp:Repeater ID="rptDOfficials" runat="server" ItemType="abc.DOfficial" SelectMethod="rptDOfficials_GetData">
<ItemTemplate>
<blockquote>
<p><%#: Item.FullName %></p>
<small><%#: Item.Position %></small>
</blockquote>
</ItemTemplate>
</asp:Repeater>
<hr />
</div>
</ItemTemplate>
</asp:Repeater>
I'm able to populate the 1st repeater (rptADivisions), but how would I get the second one to work? I need to have the second one get access to the Did, which is contained in the top repeater (rptADivisions) Item (abc.Divison). I've tried setting the SelectMethod for the second repeater as
public IEnumerable<abc.DOfficial> rptDOfficials_GetData([Control("rptADivisions")] string DidFilter)
but that doesn't seem to work, the DidFilter is always set to null.