problems with Treeview display

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris

    #1

    problems with Treeview display

    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...

  • Easy mistake

    #2
    problems with Treeview display

    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\wwwr oot\webctrl_cli ent\1_0\treeima ges\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...
    [color=blue]
    >-----Original Message-----
    >Hi everyone,
    >
    >I am trying to build a treeview dynamically with codes
    >rather than with xml files that I have used in the past.[/color]
    I[color=blue]
    >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...
    >
    >.
    >[/color]

    Comment

    Working...