How bind nested data repeater in asp.net

Posted by Shail under ASP.NET on 6/5/2014 | Points: 10 | Views : 945 | Status : [Member] | Replies : 2
<ul class="megamenu skyblue">

<asp:Repeater ID="rpmenu" runat="server" onitemdatabound="rpmenu_ItemDataBound">

<ItemTemplate>

<li class="grid"><a class="color2" href="#"><asp:Label ID="lblcat" runat="server" Text='<%#Eval("Cat_Name") %>'> </asp:Label> </a>

<div class="megapanel">

<div class="row">

<div class="col1">

<div class="h_nav">

<h4> <asp:Label ID="lblscat" runat="server" Text='<%#Eval("SCat_Name") %>'> </asp:Label></h4>

<ul>

<asp:Repeater ID="rpscat" runat="server">

<ItemTemplate>

<li><a href="#"><asp:Label ID="lblscatItem" runat="server" Text='<%#Eval("SCat_Item") %>'> </asp:Label></a></li>



</ItemTemplate>

</asp:Repeater>

</ul>

</div>



</div>



<div class="col1 men">

<div class="men-pic">

<img src='<%# "../Admin/CatImage/"+Eval("Cat_Image") %>' title="" />

</div>

</div>

</div>

</div>

</li>

</ItemTemplate>

</asp:Repeater>





</ul>

plz solve my problem




Responses

Posted by: Shail on: 6/5/2014 [Member] Starter | Points: 25

Up
0
Down
plz help me any one

Shail, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Satyapriyanayak on: 6/6/2014 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.codeproject.com/Articles/20230/Nesting-Data-bound-Repeater-Controls-in-ASP-Net
http://www.devasp.net/net/articles/display/1372.html

If this post helps you mark it as answer
Thanks

Shail, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response