Welcome Guest Search | Active Topics | Sign In | Register

Update Parent Checkboxes on Drag/Drop Options
ww3467
Posted: Tuesday, December 7, 2010 10:15:04 AM
Rank: Member
Groups: Member

Joined: 10/1/2010
Posts: 10
I have several treeviews, one is populated on demand and the others are not. All of the treeviews have checkboxes and allow drag/drop. Properties are set on all trees to AutoCheckChildren="True" AutoCheckParent="True" AutoUncheckChildren="True". When an item is dragged and dropped to a different parent, the parent node checkboxes do not update automatically to reflect the new or removed child node. What is the easiest way to update the checkboxes on the old and new parent nodes (note that there may be multiple levels of groups)? I can try iterating through them all myself in the code, but I thought maybe I was missing something.
eo_support
Posted: Tuesday, December 7, 2010 10:52:59 AM
Rank: Administration
Groups: Administration

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

You will need to write the code to do that. AutoCheckChildren and AutoCheckParent are only checked when user actually clicks a node.

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.