This example for you to share the use of the TreeView, for your reference, the specific contents are as follows
1. Required files:ftiens4.js,ua.js,xmltree.js, as well as some pictures on the tree (file download place: http://www.treeview.net/), picture name and location as shown below
2. Other pages (maincontent.aspx,navtree.aspx) are positioned as shown in the following illustration:
3. Key page code
3.1 maincontent.aspx code
<%@ Page language= "C #" codefile= "MainContent.aspx.cs" inherits= "maincontent"%> <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
3.2 navtree.aspx code
<%@ Page language= "C #" codefile= "NavTree.aspx.cs" inherits= "Navtree"%>
3.3 treecontrol.aspx code (it works by separating the tree from the right page and hiding the tree)
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
[Over]
That's it.
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.