Static WebControls treeview (VB.net)
<%@ Page Language=VB Debug=true %> <%@ Import Namespace="Microsoft.Web.UI.WebControls" %> <%@ Register TagPrefix="IEControls" Namespace="Microsoft.Web.UI.WebControls" Assembly ="Microsoft.Web.UI.WebControls" %> <HTML> <HEAD> <TITLE>TreeView 1 Control Sample Page</TITLE> </HEAD> <BODY> <form runat="server"> <Font Face="Tahoma"> <IEControls:treeview id="MyTree1" AutoSelect="False" ShowPlus="True" ExpandLevel=2 runat="server"> <IEControls:treenode Text="A"> <IEControls:treenode Text="A1"/> <IEControls:treenode Text="A2"/> <IEControls:treenode Text="A3"> <IEControls:treenode Text="A31"/> <IEControls:treenode Text="A32"/> <IEControls:treenode Text="A33"/> </IEControls:treenode> </IEControls:treenode> <IEControls:treenode Text="B"> <IEControls:treenode Text="B1"/> <IEControls:treenode Text="B2"/> <IEControls:treenode Text="B3"/> <IEControls:treenode Text="B4"/> </IEControls:treenode> </IEControls:treeview> </Font> </Form> </BODY> </HTML>