By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,505 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,505 IT Pros & Developers. It's quick & easy.

Treeview Control - Display errors

P: n/a
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"
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">
<span id="oSpan1"></span>
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 for="oTreeView" event="NodeClick">
oCurrentNode = oTreeView.SelectedItem;
if (oCurrentNode) {
sPath = oCurrentNode.FullPath;
oSpan1.innerText = "Path: " + sPath;
Any input is greately appreciated.

Dec 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.