Collapsible menus in asp.net

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

I need collapsible menu in asp.net 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


regards,
sudha




Responses

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

Up
0
Down
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