Hi Jason,
Thanks for bringing this issue to our attention. I do see that the GroupView''s DragDrop event never gets triggered and have notified the development team in this regard. We have logged a bug report defect 587 on this issue and will try our very best to address the same at the earliest. You could track the progress of this bug fix at this link below :
Defect #587 - The GroupView''s DragDrop event never gets triggered
For now you could workaround this problem by handling the DragEnter and DragLeave events as shown below :
tring draggedtext = "";
private void groupView1_DragEnter(object sender, System.Windows.Forms.DragEventArgs e)
{
this.draggedtext = e.Data.GetData(typeof(string)) as string;
}
private void groupView1_DragLeave(object sender, System.EventArgs e)
{
Point pt = this.groupView1.PointToClient(Control.MousePosition);
if (this.groupView1.ClientRectangle.Contains(pt))
{
if (this.draggedtext != "")
{
GroupViewItem gvi = new GroupViewItem();
gvi.Text = this.draggedtext;
this.groupView1.GroupViewItems.Add(gvi);
}
}
this.draggedtext = "";
}
I have attached a complete
test sample that illustrates the above mentioned workaround. Please refer to it and let me know if this works for you. We appreciate your interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.