Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > TreeViiew: Collapsing a node affect the nest most adjasant sibling node, make it not clickable

Reply
Thread Tools

TreeViiew: Collapsing a node affect the nest most adjasant sibling node, make it not clickable

 
 
john
Guest
Posts: n/a
 
      08-06-2004
If a node has children, expand it, then collapse it again, then the attributes of the next most adjacent sibling node is affected, that node had 'mousehover= hand' attribute, and was clickable before, but now it no longer has the hand mouse and not clickable.

I checked the javascript code, and found nothing wrong in logic. I doubt this is a bug in IE DOM modal.

Has anyone met this problem?
 
Reply With Quote
 
 
 
 
john
Guest
Posts: n/a
 
      08-06-2004
by the way, this treeview is from MS Advancedwebcontrols, not the IE webcontrols
"john" <> wrote in message news:%...
If a node has children, expand it, then collapse it again, then the attributes of the next most adjacent sibling node is affected, that node had 'mousehover= hand' attribute, and was clickable before, but now it no longer has the hand mouse and not clickable.

I checked the javascript code, and found nothing wrong in logic. I doubt this is a bug in IE DOM modal.

Has anyone met this problem?
 
Reply With Quote
 
 
 
 
john
Guest
Posts: n/a
 
      08-06-2004
Here is the code

// Change main image to Plus icon
obj.children[0].src = tree.collapsedNodeImageUrl;

// Set image URL
if (obj.parentNode.children.length > 1)
obj.parentNode.children[1].src = obj.imageUrl;

// Hide children
for (i = 0; i < tnodeid.children.length; i++) {
tnodeid.children[i].style.display = 'none';
} // this loop caused the problem


"john" <> wrote in message news:...
by the way, this treeview is from MS Advancedwebcontrols, not the IE webcontrols
"john" <> wrote in message news:%...
If a node has children, expand it, then collapse it again, then the attributes of the next most adjacent sibling node is affected, that node had 'mousehover= hand' attribute, and was clickable before, but now it no longer has the hand mouse and not clickable.

I checked the javascript code, and found nothing wrong in logic. I doubt this is a bug in IE DOM modal.

Has anyone met this problem?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Complicated XPATH to return a nodeset based on a sibling node's value Brad XML 6 01-15-2013 08:01 PM
How to check weather a node has sibling Moses Javascript 9 03-19-2007 02:30 PM
xsl variable $node/text() but $node can non-node-set help! Tjerk Wolterink XML 2 08-24-2006 03:28 AM
How to set the node indent property between the parent node and the leaf node viveknatani@gmail.com ASP .Net 0 02-13-2006 07:11 PM
how to find not the next sibling but the 2nd sibling or find sibling "a" OR sinbling "b" localpricemaps@gmail.com Python 11 01-23-2006 07:04 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57