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
588 B

<%@ Page Language="VB" ASPCOMPAT="TRUE" Debug="true"%>
<%@ Import Namespace="obout_ASPTreeView_2_NET" %>
<script language="VB" runat="server">
Public Sub Page_Load(sender As object, e As EventArgs)
Dim oTree As New obout_ASPTreeView_2_NET.Tree()
' Populate Treeview.
oTree.Add("root", "a0", "Hello, World!")
' This node has last argument SubTreeURL "DL_sub.asp"
' Node will load this URL dynamically.
oTree.Add("a0", "a0_0", "<b style='color:navy;'>Load this node dynamically</b>", Nothing, Nothing, "vb_DL_sub.aspx")
oTree.Add("root", "a1", "Hello there")