动态垂直菜单 [英] dynamic vertical menu

查看:123
本文介绍了动态垂直菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要动态的垂直菜单,可以通过其标题进行扩展和折叠,例​​如:第一次单击country(header),它会展开并显示城市列表,第二次单击,它会折叠,显示国家和地区等菜单数据城市应该来自数据库

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

推荐答案

Treeview将满足您的需求
经历这个

将层次结构数据结构动态绑定到Treeview控件 [ ^ ]

http://hamidseta.blogspot.in/2012/01/bind-treeview-in-apsnet-c-using-dataset.html [ http://www.c-sharpcorner.com /uploadfile/krishnasarala/bind-treeview-from-a-database-in-Asp-Net/ [
Treeview will serve your need
go through this

Dynamic Binding Of Hierarchy Data Structure To Treeview Control[^]

http://hamidseta.blogspot.in/2012/01/bind-treeview-in-apsnet-c-using-dataset.html[^]

http://www.c-sharpcorner.com/uploadfile/krishnasarala/bind-treeview-from-a-database-in-Asp-Net/[^]


这篇关于动态垂直菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆