4 Replies Latest reply on Aug 4, 2008 2:05 PM by Garyl Woolworth

    Preventing drop on tree

    Garyl Woolworth Level 1
      I am trying to make it so that when someone drags a leaf node around in the tree they are only allowed to drop it under certain circumstances. However it seems that preventing the drop is much harder then it should be. I have written a test application to help demonstrate what I am trying to achieve. Essentially when dragging a leaf node that has a type of "file" the only place you should be able to drop that node into is anything with a type of "pageholder." However all of my attempts to block the drop don't seem to do anything, the item is still moved. If anyone has any ideas I'd be much appreciated.