Im working on a website written in .net which I have no idea how it works, I have the following code..
<ul id="mega"><li><a href="#">Products</a><div>
<asp:Repeater ID="RT_Category" runat="server">
<ItemTemplate>
<h2><%# DataBinder.Eval(Container.DataItem, "Category")%></h2>
<asp:Repeater ID="RT_SubCategory" runat="server"
DataSource='<%# DataBinder.Eval(Container.DataItem, "SubCat") %>'>
<HeaderTemplate><p></HeaderTemplate>
<ItemTemplate>
<a href='<%# DataBinder.Eval(Container.DataItem, "LinkS") %>'>
<%# DataBinder.Eval(Container.DataItem, "SubcatName")%></a>
</ItemTemplate>
<FooterTemplate></p></FooterTemplate>
</asp:Repeater>
</ItemTemplate>
</asp:Repeater>
</div></li></ul>
This code outputs a list of product categories, my problem is that it lists them in 1 huge list however, Is it possible to somehow wrap a around every 5 records?
The following article may help:
Paging with Repeater control in ASP.NET