Welcome Guest Search | Active Topics | Sign In | Register

Unexpected treeview behavior Options
John
Posted: Monday, October 10, 2011 4:03:33 PM
Rank: Newbie
Groups: Member

Joined: 10/10/2011
Posts: 1
I am working with the Treeview Demo Programming\Hierarchical DB Update and see some unexpected behavior:

- If I drag Local Disk (C:) to be after Local Disk (E:) I would expect it to appear at the level of the other nodes. Instead it goes under Local Disk (E:). Sometimes (I can't reproduce it) it disappears under E: and the only indication as to what happened is that a minus sign appears beside E:. If you click on the minus sign and then click on the resulting plus sign you see C:. I have seeen this behavior 2 or 3 times but cannot reliably reproduce the disappearing act.

- It seems to be impossible to drag an item and drop it after the last of its siblings. It ends up on the next higher level. For instance if you expand C: and grab My Documents and drag it to after Temp I would expect it to end up on the level of Temp. Instead it ends up on the next higher level, at the level of Local Disk C:.

Is this behavior designed? How can a user get an item into the last place among siblings?
eo_support
Posted: Monday, October 10, 2011 4:34:55 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Both behaviors are by design. When you drag a node, it can be dropped:

1. As a child node of the current highlighted node;
2. If AllowDragReordering is set to true, it can be dropped in between two sibling nodes. You cannot drop it after the last sibling nodes;

Hope this helps. Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.