Let's say i have this markup structure
<asp:Repeater id="rptItems" datasource="getItemsList()" runat="server" OnItemDataBound="rpAereos_ItemDataBound">
<ItemTemplate>
<asp:Panel id="tableHolder" runat="server">
<asp:table ID="TableHolded" runat="server">
<asp:TableRow>
<asp:TableCell>
<asp:Panel runat="server" ID="panelToFind">Test</asp:Panel>
</asp:TableCell>
</asp:TableRow>
</asp:table>
</asp:Panel>
</ItemTemplate>
</asp:Repeater>
Now on ItemDataBound event I want to find the element panelToFind, but I don't want to go through all the elements to find this element like e.Item.FindControl("tableHolder").FindControl("tableHolded").AReallyLongCallChainUntilMyItem ...
, I want to find anything under the tableHolder panel that has the id panelToFind, How would my ItemDataBound event look?
I would like to know if something like: e.Item.FindControl("tableHolder").FindAny("panelToFind")