Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Tree Menu

Status
Not open for further replies.

Mary10k

IS-IT--Management
Nov 8, 2001
103
US
Hello,
Can anyone point me to some code which would build a dynamic vertical menu. A tree menu would be best, but any verticle drop down would do. Also, I need this to populate from a database.

Thank you,
 
By far the best I've ever seen can be found here. It supports asynchronous calls to the server via a built-in XML object that is supported by most browsers (which, by the way, is how Microsoft will be doing its "code-beside" pages in the release of Whidbey). xLoadTree does this to populate sub-trees on-demand, which is useful if you have thousands of nodes in your tree.

The only thing is, it grabs the child nodes from xml documents. So what I did was make all the nodes point to the same aspx file which queries the database and returns as an xml document by setting ContentType="text/xml" in the "Page" directive.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top