0 Replies Latest reply on Apr 27, 2007 2:04 PM by joelregen

    Drag/Drop rejection at dragOver event time

      I need to reject certain drops based on information about the drop target node (insertion node). I am currently doing this by obtaining the drop index and then selecting that index to be able to reference the selectedItem as the following code shows:

      dropTarget.selectedIndex = dropIndex-1;
      insertionNode = dropTarget.selectedItem as XML;

      This is a bit invasive since it has altered the target. Is there any way to obtain the insertionNode without setting the 'selectedIndex' of the target?