I'm using two RadTreeView to Drag and Drop Nodes from Right to Left. When "Node 1" is Drag from Right and Drop to Left RadTreeView a Dialog is shown.
If I Drag and Drop other Node before "Node 1" the Dialog stuck and I cannot write on the TexBoxes.
How can I solve this issue?
Main Form
https://i.stack.imgur.com/Qf1QM.png
public
partial
class
Main : RadForm
{
public
Main()
{
InitializeComponent();
}
private
void
RightRadTreeView_DragEnded(
object
sender, RadTreeViewDragEventArgs e)
{
if
(e.Node.Text ==
"Node 1"
)
{
new
RadForm1().ShowDialog();
}
}
private
void
Form1_Load(
object
sender, EventArgs e)
{
//Right
this
.RightRadTreeView.Nodes.Add(
new
RadTreeNode { Text =
"Node 1"
});
this
.RightRadTreeView.Nodes.Add(
new
RadTreeNode { Text =
"Node 2"
});
this
.RightRadTreeView.Nodes.Add(
new
RadTreeNode { Text =
"Node 3"
});
this
.RightRadTreeView.Nodes.Add(
new
RadTreeNode { Text =
"Node 4"
});
}
}
Dialog Form
https://i.stack.imgur.com/hH7Ln.png