I have a repeater that loads my categories and products and my repeater code is:

<asp:Repeater runat="server" ID="rptCategories">
<ItemTemplate>
<#% Eval("CategoryName") %>
<ul>
<li>
<#% Eval("ProductName") %>
</li>
</ul>
</ItemTemplate>
</asp:Repeater>

I bind repeater with inner join from 2 tables and user can drag items from a tree view to this repeater and drop it in ul tags, at the end I have a button for saving new items to database and I need to get list of each li tags in ul tags, my question is how can I get the list of lis in ul tags?

Related posts

Recent Viewed