I have 2 radgrids, first one withs items A. Second one with Items B and subitems of the same type as A.
I want to be able to drop items from first grid into the second one.
Right now I can drop items but only into the first row ( i can't find the right row)
private void OnDropInfo(object sender, DragDropEventArgs e)
RadGridView destination = sender as RadGridView;
if (e.Options.Status == DragStatus.DropComplete)
(destination.ItemsSource as IList<
>).LstExpedition.Add(e.Options.Payload as LotExpedition);
I tried enabling drop for each row
private void RadGridView3_RowLoaded(object sender, Telerik.Windows.Controls.GridView.RowLoadedEventArgs e)
GridViewRow row = e.Row as GridViewRow;
if (row != null)
row.IsExpandable = true;
RadGridView destination = sender as RadGridView; to GridViewRow instead, but by doing that, destination came out as null and it didn't work.
So anyway for me to find out which row I'm dropping my item in?