<%@ 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>Using Links 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="Search Engines">
<IEControls:treenode
text="Java2s.com"
target="_blank"
navigateurl="http://www.java2java.com"
/>
<IEControls:treenode
text="Yahoo"
target="_blank"
navigateurl="http://www.yahoo.com"
/>
<IEControls:treenode
text="Excite"
target="_blank"
navigateurl="http://www.excite.com"
/>
</IEControls:treenode>
</IEControls:treeview>
</form>
</BODY>
</HTML>
|