Hi
I have an issue with drag drop multiple items from listview to another listview. I'm able to drag drop single item, but having issues with multiple items. When I select multiple items and trying to drag, it's deselcing the other selected items and selecting the current one and allowing me drag. Please help.
Sample code : I use this datatemplate as my list view itemtemplate.
<DataTemplate x:Key="ProductTemplate" DataType="nodes:CatalogProduct"> <StackPanel Orientation="Horizontal" ToolTip="{Binding NamePath}"> <Image Height="16" Width="16" Margin="1 0" Source="/EAB.Premium.Client.Framework;component/Images/Product.ico"/> <TextBlock Text="{Binding Name}" Width="300"> <ig:DragDropManager.DragSource> <ig:DragSource IsDraggable="True" Drop="DragSource_OnDrop" DataObject="{Binding DataContext, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TextBlock}}}"> <ig:DragSource.DragTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <Image Height="16" Width="16" Margin="1 0" Source="Product.ico"/> <TextBlock Text="{Binding Name}" FontWeight="Bold"/> </StackPanel> </DataTemplate> </ig:DragSource.DragTemplate> </ig:DragSource> </ig:DragDropManager.DragSource> </TextBlock> </StackPanel> </DataTemplate>
Hello Sreenivas,
Thank you for your post.
Another community member has asked a very similar question, which has been answered and verified by another one of our support engineers on another forum thread. Here is a link to that thread: http://es.infragistics.com/community/forums/t/72131.aspx.
I hope this helps you. Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewDeveloper Support Engineer IInfragistics Inc.www.infragistics.com/support