problems with Treeview display

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi everyone,

I am trying to build a treeview dynamically with codes
rather than with xml files that I have used in the past. I
seem to be having a problem with the tree's display when
it is rendered on the page. Although the hiearchy is
correct, the lines connecting the nodes are pointing in
the wrong direction. The icons, the text all appear
normal, but the lines do not. Am I doing something
incredibly wrong here?

Basically my code is:

1. Create the root node.
2. Add some nodes to the root node.
3. Display the tree.

Anybody who can solve this mystery will get a pizza...

thxs,

Chris...
 
Chris,

You are using the wrong images. The treeview has two
identical sets of images. One set has the connector lines
pointing in the normal direction for a tree view, the
other in the opposite direction. This set is found under
the C:\Inetpub\wwwroot\webctrl_client\1_0\treeimages\rtl\
folder where the tree control is initially installed. Just
copy the images from the treeimages folder only, and not
the rtl folder, and this should correct your problem...

Easy mistake...
 
Back
Top