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

<%@ Page Language="C#" %>
<%@ Register TagPrefix="obspl" Namespace="OboutInc.Splitter2" Assembly="obout_Splitter2_NET" %>
<script language="C#" runat="server">
void Page_Load(object sender, EventArgs e) {
obout_ASPTreeView_2_NET.Tree oTree2 = new obout_ASPTreeView_2_NET.Tree();
string html = "";
// Root node is optional. You can delete this line.
oTree2.AddRootNode("My Favorites!", true, "folder.gif");
// Populate Treeview.
html = "<a href='javascript:Splitter1.loadPage(\"RightContent\", \"http://www.microsoft.com\")' class=ob_a2>Microsoft</a>";
oTree2.Add("root", "a1", html, true, "category.gif", null);
html = "<a href='javascript:Splitter1.loadPage(\"RightContent\", \"http://www.microsoft.com/about/default.mspx\")' class=ob_a2>About Microsoft</a>";
oTree2.Add("a1", "a1_0", html, false, "category.gif", null);