obout inc
   

ASP TreeView is much faster and much smaller (40 KB) than any other .NET TreeView, including Microsoft free TreeViews and all other 3rd party TreeViews.
Yet it is easiest to use. It has many styles and dynamic loading ability. You can put any HTML tags and script in the nodes.

Open Example trees and code in left bar.
 
Download (Forward to new version site) DLLs and 50 working .NET examples.
See 50 working .NET Examples here (Forward to new version site).
 
Test trial versions of Pro and XP indefinitely with unlimited number of nodes!
 
Please ask any questions: support@obout.com . See HOW-TO and Help page.

 
How To install for .NET
1.  Place DLLs from folder NET_1.1 or NET_1.0 to your web application BIN folder. ("C:\Inetpub\wwwroot\BIN" or other).
 
2.  Put folder Tree with icons to wwwroot. (How to put to other folder?).
 
  Don't do anything else! Run ready examples from folder NetExamples.

If you get errors, check
a) If you added reference to all dlls in your Visual Studio project.
b) Give security rights FULL CONTROL to user ASPNET for all DLL files.
Make right click on dll > Properties > Tab Security > Add user ASPNET.
Note: user ASPNET is on {local-machine}, not on network. More...
c) If MSXML is working on your machine. See how

Please ask any questions: support@obout.com . See HOW-TO and Help page.

 
How To install for .NET Interop (100 times faster)
1.  Put folder Tree with icons to wwwroot. (How to put to other folder?).
 
2.  Place DLLs from folder ASPNET_Interop_Fast to your web application BIN folder. ("C:\Inetpub\wwwroot\BIN" or other).
 
3.  Register DLLs from folder ASP with command regsvr32 (How?).
 
  Don't do anything else! Run ready examples from folder NetExamples.

 

How to populate
<%@ Page Language="VB" %>
<%@ Import Namespace="obout_ASPTreeView_Pro_NET" %>
<script language="VB" runat="server">

Public Sub Page_Load(oSender as Object, E as EventArgs)
    Dim oTree as New obout_ASPTreeView_NET.Tree()

oTree.Add("", "root", "Hello World!", , "book.gif") oTree.Add("root", "a1", "Jobs") oTree.Add("a1", "b1", "DA Office", , "scales.gif") ' more nodes here . . .
' Write tree to your page. Response.Write(oTree.HTML()) End Sub </script>

 
ASP TreeView styles
1. Classic looks great!
2. ClassicPro looks absolutely the same as Classic, yet has more features!
3. XP has fancy style of Windows XP (no lines). You can change its look instantly!

ClassicPro and XP have more features comparing to Classic:

- Dynamic loading of Nodes capability. Just specify URL to load.
- Select (highlight) Node with property SelectedNode_ID.
- TreeView expands down to Selected Node automatically.
- Property ShowIcons (True or False).
- Property SelectedNode_Background_Color.
- Property SelectedNode_Border.

XP has:
- Choice of styles: MSDN, WindowsXP Explorer, Iconless, Help, Web, Blue Menu, etc.
- Property TreeStyle_Path instantly changes TreeView style.
- You can easy create your own styles!
 

 

How to position Tree on the page
You can put Tree inside any element you can set position for.
Like
<DIV><%=Response.Write(oTree.HTML())%></DIV>
or
<TD><%=Response.Write(oTree.HTML())%></TD>
 
Also download example with code behind.
See more code behind examples here.
 
Another way here:
<script language="VB" runat="server">
  Public Sub Page_Load(oSender as Object, E as EventArgs)

    Dim oTree as New obout_ASPTreeView_Pro_NET.Tree()

    ' First node in Pro is "root".
    oTree.Add("", "root", "Hello World")
    
    oTree.Add("root", "a0", "obout.com", , "page.gif")
    
    oTree.Add("root", "a1", "Hey there")

    ' Put tree in label.
    lblTree.Text = oTree.HTML()

  End Sub
</script>

<table>
  <tr><td width="150px">
    some text
  </td>
  <td>
    I want the menu here
    <p>
    <ASP:Label id="lblTree" runat="server" />
  </td></tr>
</table>

Open Example trees and code in left bar.

Please ask any questions: support@obout.com . See HOW-TO and Help page.