473,320 Members | 1,861 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,320 software developers and data experts.

Treeview Control - Display errors

I use MS activex treeview control in my asp pages. The problem I have
is that some computers display the treeview with no problems while
others display the control without the text on the nodes. I checked the
IE settings, IE version, comctl32.ocx version,... everything seems to
be the same on the machines that do not have the problem and on the
machines with the problem...
this is a simplified code extract of the treeview control:
<object id="oTreeView"
classid="clsid:C74190B6-8589-11D1-B16A-00C0F0283628"
width=100% height=200>
<param name="Style" value="6">
<param name="LineStyle" value="1">
<param name="HideSelection" value="0">
<param name="_ExtentX" value="25797">
<param name="_ExtentY" value="5292">
<param name="_Version" value="393217">
<param name="Indentation" value="1000">
<param name="LabelEdit" value="0">
<param name="PathSeparator" value="\">
<param name="Sorted" value="0">
<param name="Checkboxes" value="0">
<param name="FullRowSelect" value="0">
<param name="HotTracking" value="0">
<param name="Scroll" value="1">
<param name="SingleSel" value="0">
<param name="ImageList" value>
<param name="BorderStyle" value="0">
<param name="Appearance" value="1">
<param name="MousePointer" value="0">
<param name="Enabled" value="1">
<param name="OLEDragMode" value="0">
<param name="OLEDropMode" value="0">
</object>
<span id="oSpan1"></span>
<script>
oRoot = oTreeView.Nodes.Add();
oRoot.Text = "This is the root node";
oChild = oTreeView.Nodes.Add(oRoot, 4);
oChild.Text = "This is a child node";
oTreeView.Nodes.Add(oRoot, 2, "", "This is a sibling");
oTreeView.Nodes.Add(oChild, 4, "", "Child's child");
oRoot.Expanded = true;
</script>
<script for="oTreeView" event="NodeClick">
oCurrentNode = oTreeView.SelectedItem;
if (oCurrentNode) {
sPath = oCurrentNode.FullPath;
oSpan1.innerText = "Path: " + sPath;
}
</script>
Any input is greately appreciated.

Dec 21 '05 #1
0 1521

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

Similar topics

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...
5
by: Alexis | last post by:
How can I subclass a treeview control to add columns to it? Thanks, Alexis
6
by: Jarod_24 | last post by:
This is the exception i'm getting: System.InvalidOperationException: The action being performed on this control is being called from the wrong thread. You must marshal to the correct thread using...
0
by: Treeview Trouble | last post by:
I have an application where there are two radio buttons each of which populates a treeview control with a directory structure. Each radio button corresponds to a different directory which may or...
1
by: musosdev | last post by:
Hi guys I was using the Microsoft.Web.UI.WebControls extra namespace in my application to provide me with a TreeView control. I was using specifically ..GetNodeFromIndex(), SelectedNodeIndex and...
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...
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...
4
by: colin | last post by:
Hi, I wish to display and edit 3 collections of different object types, each object type also has a collection of the other 2 types, such that if one object contains another then the reverse is...
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. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.