Tree node with hyper link (C#) : Tree « Components « ASP.Net

Home
ASP.Net
1.ADO.net Database
2.Ajax
3.Asp Control
4.Collections
5.Components
6.Data Binding
7.Development
8.File Directory
9.HTML Control
10.Language Basics
11.Login Security
12.Mobile Control
13.Network
14.Page
15.Request
16.Response
17.Server
18.Session Cookie
19.Sitemap
20.Theme Style
21.User Control and Master Page
22.Validation by Control
23.Validation by Function
24.WebPart
25.WPF
26.XML
ASP.Net » Components » Tree 
Tree node with hyper link (C#)

<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>TreeView Declare</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:TreeView
        id="TreeView1"
        Runat="server">
        <Nodes>
        <asp:TreeNode
            Text="Home"
            NavigateUrl="~/Default.aspx">
            <asp:TreeNode
                Text="Products">
                <asp:TreeNode
                    Text="First Product"
                    NavigateUrl="http://www.java2s.com" />
                <asp:TreeNode
                    Text="Second Product"
                    NavigateUrl="http://www.java2s.com" />
            </asp:TreeNode>
            <asp:TreeNode
                Text="Services">
                <asp:TreeNode
                    Text="First Service"
                    NavigateUrl="http://www.java2s.com" />
                <asp:TreeNode
                    Text="Second Service"
                    NavigateUrl="http://www.java2s.com" />
            </asp:TreeNode>    
        </asp:TreeNode>    
        </Nodes>
    </asp:TreeView>    
    
    
    </div>
    </form>
</body>
</html>

           
       
Related examples in the same category
1.IE control tree with link node and frame control (C#)
2.IE control treeview with link node (C#)
3.Tree with style (C#)
4.Static WebControls treeview (VB.net)
5.Treeview with custom icon (VB.net)
6.treeview with expand, collapse and change action (VB.net)
7.Treeview with navigational URL (VB.net)
8.Working with TreeNode Controls in a TreeView Control (VB.net)
9.Setting Styles in a TreeView Control (VB.net)
10.Tree Node selected event in a TreeView (VB.net)
11.Using Links with TreeNode Controls in a TreeView Control (VB.net)
12.Using Images with TreeNode Controls in a TreeView Control (VB.net)
13.TreeNode Expand action (VB.net)
14.TreeNode Collapses action (VB.net)
15.Treeview and checkbox treenode (VB.net)
16.On Tree Node Populate Event (C#)
17.Add tree node (C#)
18.Treeview image: XP file explore style (C#)
19.Tree view node style (C#)
20.On tree node selection changed event (C#)
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.