how to find repeater control inside nested repeater in asp.net

Posted by Shanky11 under ASP.NET on 11/12/2014 | Points: 10 | Views : 1010 | Status : [Member] | Replies : 0
<asp:Repeater ID="rptMenu" runat="server" OnItemDataBound="rptMenu_OnItemBound" Visible="false">
<ItemTemplate>
<li class="hover1">
<asp:LinkButton ID="lnkcategory" runat="server" Text='<%#Eval("Category") %>' OnClick="lnkCategory_Click"></asp:LinkButton>
</li>
<ul id="testul">
<asp:Repeater ID="rptChildMenu" runat="server" Visible="false">
<ItemTemplate>
<li class="hover">
<asp:LinkButton ID="lnksubcategory" runat="server" Text='<%#Eval("Subcategoty") %>'
OnClick="lnkSubCategory_Click"></asp:LinkButton>
</li>
<asp:Repeater ID="rptSubChildMenu" runat="server" Visible="false">
<ItemTemplate>
<asp:LinkButton ID="lnkSubChild" runat="server" Text='<%#Eval("Sub2categoty") %>'></asp:LinkButton>
</ItemTemplate>
</asp:Repeater>
</ItemTemplate>
</asp:Repeater>
</ul>

</ItemTemplate>
</asp:Repeater>





Responses

(No response found.)

Login to post response