asp.net - How css menu list can be genrated for a repeater with in repeater bounded by database? -


i want menu list this

enter image description here

even more beautiful

currently have coded bind repeater database , fetch menu it

<div id="main" class="shell">         <!-- sidebar -->         <div id="sidebar">             <ul class="categories" id="categoryheader">                 <li id="categoryitem">                     <h4>categories</h4>                     <ul class="categories" id="categorylist">             <asp:repeater id="repcategories" runat="server" onitemdatabound="itembound">                 <headertemplate>                     <ul>                 </headertemplate>                 <itemtemplate>                     <li>                         <asp:hyperlink id="hypercategories" runat="server"><%#eval("categoryname")%></asp:hyperlink>                                 <ul class="subcategories" id="subcategorylist">                                     <asp:repeater id="repsubcategory" runat="server">                                         <headertemplate>                                             <ul>                                         </headertemplate>                                         <itemtemplate>                                             <li>                                                 <asp:hyperlink id="hypersubcategories" runat="server"><%#eval("subcategoryname")%></asp:hyperlink>                                                                                    </li>                                         </itemtemplate>                                         <footertemplate></ul></footertemplate>                                     </asp:repeater>                                 </ul>                             </li>                 </itemtemplate>                 <footertemplate></ul></footertemplate>             </asp:repeater>         </ul>                 </li>                   <li>                     <h4>company</h4>                     <ul>                         <asp:repeater id="repcompany" runat="server">                             <headertemplate><ul></headertemplate>                             <itemtemplate>                                 <li>                                 <asp:hyperlink id="hypercompany" runat="server"><%#eval("companyname")%></asp:hyperlink>                                 </li>                             </itemtemplate>                             <footertemplate></ul></footertemplate>                         </asp:repeater>                     </ul>                 </li>             </ul>         </div> 

i used repeater within repeater. , add 1 more subcategory repeater it. please me solve please


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -