or
| this.radTreeView1.ItemDrag += new RadTreeView.ItemDragHandler(radTreeView1_ItemDrag); |
| RadTreeNode draggingItem = e.Node; |
| if (GetTagValue(draggingItem.Tag.ToString(), "Type") == "Document") |
| { |
| DataObject dragData = GetDragDropFile(draggingItem); |
| if (dragData != null) |
| { |
| this.DoDragDrop(dragData, DragDropEffects.Copy); |
| } |
| else |
| { |
| MessageBox.Show("There was a problem with this file. Please check to make sure you have access, and that you have recently refreshed the Outlook View.", "Error...", MessageBoxButtons.OK, MessageBoxIcon.Error); |
| } |
| } |