1 Reply Latest reply on Oct 19, 2011 8:05 AM by mario cerrato

    cancelling drag operation -- need help

    sivudu
      Hi All,

      As per my requirement I am displaying one confirmation window after dropping a dragged element. If user clicks on 'Cancel' button I should cancel drag operation mean I have to put back dragged element to original place i.e. from where user dragged the drag element.

      For example there are two Lists. User can drag and drop elements from list1 to list2 viceversa. Suppose if user drags the element from list1 and dropped at list2 , immediatly it displays one confirmation window asking user for confirmation. If user clicks on 'Cancel' button I should place back the dragged element to original position i.e. at list1.

      All of my problem is I am unable to revert the operation.. Is there any method in flex to revert back drag operation mean place back the dragged element to original position. Any body help me to solve this issue. Really I will be greatful to them.

      Regards,
      Siva Kumar.