Treeview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i downloaded the treeview control from ms sit
(http://msdn.microsoft.com/downloads/samples/internet/asp_dot_net_servercontrols/webcontrols/
i'm using the treecontro

the following is my cod

<iewc:TreeView id="TreeView2" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" runat="server
ShowPlus="False" SystemImagesPath="C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322\1_0\treeimages/
ExpandLevel="1"><iewc:TreeNode NodeData="fvhghgh" Checked="True" CheckBox="True" Text="Parent" Expanded="True"><iewc:TreeNode NodeData="dfss" CheckBox="True" Text="Node1"></iewc:TreeNode></iewc:TreeNode></iewc:TreeView

when i run i this i'm getting the output like this

Parent Node1

Not showing in treeformat it's just concating like "Parent Node1

no check box,no plus ico
why it is so
i'm using frame work 1.1 and vs 7 and ie
 
You need to place the code for the webcontrols (webctrl_client) in the root
of your website so that controls can find the HTC files.

Prasanth said:
i downloaded the treeview control from ms site
(http://msdn.microsoft.com/downloads/samples/internet/asp_dot_net_servercont
rols/webcontrols/)
i'm using the treecontrol

the following is my code


<iewc:TreeView id="TreeView2" style="Z-INDEX: 101; LEFT: 8px; POSITION:
absolute; TOP: 8px" runat="server"
ShowPlus="False" SystemImagesPath="C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322\1_0\t
reeimages/"
ExpandLevel="1"><iewc:TreeNode NodeData="fvhghgh" Checked="True"
CheckBox="True" Text="Parent" Expanded="True"><iewc:TreeNode NodeData="dfss"
CheckBox="True"
 
Back
Top