You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
710 B

<%@ Page Language="VB" ASPCOMPAT="TRUE" Debug="true"%>
<%@ Import Namespace="obout_ASPTreeView_2_NET" %>
<script language="VB" runat="server">
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim oTree As obout_ASPTreeView_2_NET.Tree = New obout_ASPTreeView_2_NET.Tree()
oTree.AddRootNode("I am Root node!", True, "xpMyComp.gif")
oTree.Add("root", "a0", "Hello, World!", 1, Nothing, Nothing)
' This node has last argument SubTreeURL "eReloadingSubtrees_sub.asp"
' Node will load this URL dynamically.
oTree.Add("a0", "a0_0", "<nobr><b style='color:navy;'>Load this node dynamically</b></nobr>", Nothing, Nothing, "vb_eReloadingSubtrees_sub.aspx")