.NET news » Search results
Search results for query "treeview" (19):
Simplifying the WPF TreeView by Using the ViewModel Pattern
Advanced ClientSide TreeView v1.5
ASTreeView - A Free TreeView Control for ASP.NET
Replacing TreeView with ListBox
A TreeView Control with ComboBox Dropdown Nodes
Using Silverlight TreeView to Display BI Dimension
Silverlight TreeView with Crud
Using the TreeView Control and a DataList to Create an Online Image Gallery
ASP.NET version 2.0 includes a wide array of Web controls not found in previous versions. One such control is the TreeView, which is ideal for displaying hierarchical data. The TreeView control can be bound to a hierarchical data source such as the XmlDataSource or SiteMapDataSource, or can be constructed programmatically.
One common source of hierarchical data is the web server's file system. In many scenarios, there may be a folder that contains
subfolders and files that the user needs to be able to browse. Using the classes in the
we can programmatically populate the TreeView with the directory structure of our website. Then, when the user clicks a folder,
the selected folder's files can be displayed.
In this article we will examine how to create a simple image gallery web page that's a breeze to maintain. The image gallery lacks the bells and whistles found in more complex and feature-rich image galleries, but this one is a cinch to deploy and maintain. We'll be using two Web controls: a TreeView to list the folders and subfolders in which the images reside; and a DataList control that lists each image in the selected folder..