TreeView Navigation in ASP.Net 2.0
(Page 1 of 5 )
If you want to create a menu organized by hierarchy in ASP.Net 2.0, you can use a TreeView Navigation control, whose menu you can populate three different ways. This tutorial explains how to populate the menu using two of those ways.
Introduction
ASP.Net 2.0 offers a TreeView Navigation control that allows you to display a hierarchical menu. The TreeView’s menu items can be populated:
- declaratively
- via an XML datasource
- through a database datasource.
In this tutorial we’ll explore populating a TreeView control declaratively and through an XML datasource. The code in this tutorial runs in an ASP.Net web site project. Our goal is to create the menu in figure 1:
Figure 1 A TreeView Control at Runtime

Next: TreeView Declarative Binding >>
More ASP.NET Articles
More By Caroline Bogart