Click here to Skip to main content
14,924,006 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need dynamically vertical menu who can be expand and collapse by his header for exmp: on first click on country(header) it expand and show the list of city, on second click it collapse, data of menu such as country and city should be come from database
Posted

1 solution

   
v2
Comments
[no name] 19-Apr-12 3:36am
   
http://hamidseta.blogspot.in/2012/01/bind-treeview-in-apsnet-c-using-dataset.html
it is gud but i want open the page on click of particular tree node
P.Salini 19-Apr-12 4:00am
   
For that you need to handle in SelectedNodeChanged event of treeview
Go through this
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview.selectednodechanged%28v=vs.110%29.aspx

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