To find the DIV in the code behind, you need to add the runat="server" tag in the DIV.
If you are going to do this, you can just use Panel , as it still displays a DIV.
After doing the above, you can find it as follows:
Panel panel = (Panel)Repeater1.Items[0].FindControl("Panel1");
James johnson
source share