473,385 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

Nov 17 '05 #1
1 1802
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\r tl\
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...
-----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. Iseem 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...

.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Les Juby | last post by:
Some time back we assembled an Explore-type menu system (tree of folders) for a client site which has grown to be a pivotal function of the site in that deep navigation into the South African...
42
by: lauren quantrell | last post by:
So many postings on not to use the treeview control, but nothing recently. Is it safe to swim there yet with Access 2000-Access 2003?
2
by: Trond Hoiberg | last post by:
Let say i have a bunch of files. Logfiles that is stored in subfolders. Folder1 --logfile1 --logfile2 --logfile3 Folder2 --logfile1 --logfile2 I want to display these files using data from...
0
by: Björn Bengtsson | last post by:
Hello! I have an urgent problem concerning ASP.NET, ADO.NET, SQL Server, XML and the TreeView control. I have two tables; one describing the products and one describing their relationships. A...
2
by: DJG | last post by:
I need some help with a TreeView control in VB.Net I've got a datatable with about 8000 rows. 500 are 'folders', and the other 7500 rows are 'jobs'. It's a logical representation of some data,...
2
by: Bob | last post by:
I've got a MultiView with multiple Views. In one View, I want to display a Treeview on the left side and controls generated via a Placeholder control on the right side. If I drag a treeview...
3
by: sianan | last post by:
Hi, I want to display a 'hover box' (for want of a better description) when the mouse hovers over a node in a tree view. The box would display detail information for the node. It should be...
1
by: doemon | last post by:
Hi, I'm working on a pagination control and I need to dynamically rerender a treeview to display the next set of nodes depending on which page we're on. For example, page 1 will dispaly only...
0
by: divya1949 | last post by:
Create a windows c# application which will Read a xml file and populate nodes in the treeview. 1 On selection of treenode display the child nodes of that node in listview control 2. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.