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.
|
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!
|