Hey guys, I'm trying to figure this out. I'm taking an existing code project article to allow me to have a dynamic UL IL menu that is created dynamically. The menu produces great on Level 1, however level 2 and below only have the parent id instead of
using their own. The pageID would be 23 in the DB but it is using pageID 1. Here is my schema:
Table Menu
ID
CategoryName
Description
ParentCategoryID
Pages table
ID
MenuID (FK Menu.ID)
PageContent
Repeater html source:
<asp:repeater ID="rptCategories" runat="server" OnItemDataBound="rptCategories_ItemDataBound1">
<headertemplate>
<div class="menu"><ul>
</headertemplate>
<itemtemplate>
<li>
...
Go to the complete details ...