TreeView - Programming an Explorer-style Site View
Details Related Types
Site:  ASP Alliance
Original URL:  http://www.aspalliance.com/shark/articles/TreeView/TreeViewDoc.aspx
Summary:
The ASP.NET TreeView WebControl documentation includes examples that deal with the basics of the TreeView control, but it's hard to find many examples that show how to load the TreeView using programmatic methods in C#. The examples in this article create a familiar explorer-style tree containing all of the folders and specified files from within a web site, including navigation links from files appearing in the tree. The code presented here illustrates not only some of the TreeView methods and properties, but also a simple recursive method to browse directories and files on a web server.
System.EventArgs
System.Web.UI.WebControls.WebControl
System.Windows.Forms.TreeNode
System.Windows.Forms.TreeNodeCollection
System.Windows.Forms.TreeView
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com