469,900 Members | 1,442 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,900 developers. It's quick & easy.

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 1390

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Trond Hoiberg | last post: by
5 posts views Thread by Alexis | last post: by
6 posts views Thread by Jarod_24 | last post: by
1 post views Thread by musosdev | last post: by
1 post views Thread by doemon | last post: by
4 posts views Thread by colin | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.