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
593 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()
Dim html as String
oTree.AddRootNode("I am Root node!", True, "xpMyComp.gif")
Html = "<input class='c' type='checkbox' id='chk_r1' onclick='ob_t2c(this)'>My checkbox r1"
oTree.Add("root", "r1", Html)
Html = "<input class='c' type='checkbox' id='chk_a0' onclick='ob_t2c(this)'>My checkbox a0"
oTree.Add("r1", "a0", Html)