I'm hoping somewhere here on the forums can help me as I've searched all over (on the forums) and in the documentation and examples and are coming up dry. Right now I'm building a system in where the end-user can take a product (or products) from a RadGridView and drag them over to a RadTreeView which contains Categories and onto a RadTreeViewItem.
The entire system as it stands works perfectly for a single GridViewItem but I need to be able to support multiple items. Unfortunately I have not been able to find any solution in the demos or on the forums (most posts are either WinForm related or use the deprecated RadDragDropManager). If anyone can shed some line on how I can handle multiple items with the newer DragDropManager that would be great.
Current code is attached.
sender, DragInitializeEventArgs e)
ViewModels.DropIndicationDetails details =
var GridViewItem = e.OriginalSource
GridViewRow ?? (e.OriginalSource
var data = GridViewItem !=
? GridViewItem.Item : (sender
var payload = DragDropPayloadManager.GeneratePayload(
details.CurrentDraggedItem = data;
e.Data = payload;
Content = details,
ContentTemplate = CatalogManageCategoriesProductsDataGrid.Resources[
e.DragVisualOffset = e.RelativeStartPoint;