P
Phil Townsend
I am trying to integrate the Microsoft web controls TreeView Control.
For initial familiarization with the control I have built a static tree
structue in the .aspx page (code follows). I used the Nodes collection
designer to build this code. When I run the page, the nodes do not
appear in a tree, but rather as a long line of text with all of the node
text values displayed, such as "Node1Node2Node3..." and so on. Does
anybody know why this is occurring?
<iewc:TreeView id="TreeView1" runat="server">
<iewc:TreeNode Text="Node0">
<iewc:TreeNode Text="Node2"></iewc:TreeNode>
<iewc:TreeNode Text="Node3">
<iewc:TreeNode Text="Node7"></iewc:TreeNode>
<iewc:TreeNode Text="Node8"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode Text="Node4">
<iewc:TreeNode Text="Node5"></iewc:TreeNode>
<iewc:TreeNode Text="Node6"></iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeView>
For initial familiarization with the control I have built a static tree
structue in the .aspx page (code follows). I used the Nodes collection
designer to build this code. When I run the page, the nodes do not
appear in a tree, but rather as a long line of text with all of the node
text values displayed, such as "Node1Node2Node3..." and so on. Does
anybody know why this is occurring?
<iewc:TreeView id="TreeView1" runat="server">
<iewc:TreeNode Text="Node0">
<iewc:TreeNode Text="Node2"></iewc:TreeNode>
<iewc:TreeNode Text="Node3">
<iewc:TreeNode Text="Node7"></iewc:TreeNode>
<iewc:TreeNode Text="Node8"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode Text="Node4">
<iewc:TreeNode Text="Node5"></iewc:TreeNode>
<iewc:TreeNode Text="Node6"></iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeView>