Collapsible menus in

Posted by Sudhak under ASP.NET on 9/8/2009 | Views : 3070 | Status : [Member] | Replies : 1

I need collapsible menu in which is dynamically bound

i have records in database with columns id,pagename,parentid

a pagename whose parentid is null is the parent and if this id is parentid for someother pagename , then this is the parent

how can i write the stored procedure in the database to get the information in to the frontend
how to bind this data to the menu

when i click on any of the parent its corresponding childs must be displayed under it

please give me some solution

there might be any levels



Posted by: Lakhangarg on: 9/8/2009 [Member] [Moderator] Silver

Hi Sudha-

Please find the attached File and check the Javascript code for Collapse and expand links.

 Download source file

Sudhak, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response