<%@ 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>Working with TreeNode Controls in a TreeView Control</TITLE>
</HEAD>
<BODY LEFTMARGIN="40">
<form runat="server">
<IEControls:treeview
id="tvBasic"
autoselect="False"
showplus="True"
showlines="True"
expandlevel=2
runat="server">
<IEControls:treenode Text="Clothing">
<IEControls:treenode Text="A"/>
<IEControls:treenode Text="B"/>
<IEControls:treenode Text="C">
<IEControls:treenode Text="a"/>
<IEControls:treenode Text="b"/>
<IEControls:treenode Text="c"/>
</IEControls:treenode>
</IEControls:treenode>
<IEControls:treenode Text="Electronics">
<IEControls:treenode Text="A"/>
<IEControls:treenode Text="B"/>
<IEControls:treenode Text="C"/>
<IEControls:treenode Text="D"/>
</IEControls:treenode>
</IEControls:treeview>
</form>
</BODY>
</HTML>
|