To reproduce: add some nodes to the tree view at design time
public RadForm1()
{
InitializeComponent();
this.radTreeView1.AllowDragDrop = true;
this.radTreeView1.DragEnding += radTreeView1_DragEnding;
}
private void radTreeView1_DragEnding(object sender, Telerik.WinControls.UI.RadTreeViewDragCancelEventArgs e)
{
if (MessageBox.Show("Are you sure you want to move?", "Question", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
{
e.Cancel = true;
}
}
Then try to drag and drop a node. You will notice that the application hangs
Workaround: use RadMessageBox