Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want recursive function that generate css menu for this table format(infinity depth). -No XML Format Use please

ID as int.
ParentID as int.
Title as Int.


    XML
    <li>main1</li>
        <li>main2
            <ul>
                <li>sub</li>
            </ul>
        </li>
    </

    ul>

    thanks
Posted
Comments
woutercx 22-Jul-12 6:49am    
What do you mean by "No XML Format Use please"?

1 solution

This would do the job I think:

https://dotnetfinder.wordpress.com/2010/09/14/aspsooperfishmenu/[^]

You would have to adapt it a little, but it would work.
 
Share this answer
 
Comments
Behnam Mohammadi 4-Aug-12 16:17pm    
hi thanks that is very good but i don't know how to replace id via title in query string and that site is filter by my country for search in forum
please help me
woutercx 4-Aug-12 19:42pm    
Sorry, I don't know what you mean.
Behnam Mohammadi 4-Aug-12 16:17pm    
Only i can download that source
woutercx 4-Aug-12 19:44pm    
Sooperfish can be downloaded here: https://github.com/jjroelofs/jQuery-SooperFish
woutercx 4-Aug-12 19:41pm    
What do you mean with "Only i can download that source"? What are you trying to do?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900