iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello all,
We were experimenting with drag n drop and one of the testers decided to click on an item with a right mouse click then drag around in circles, eventually, the program stopped responding, another time it threw an exception.
Here's the listbox def:
<Intersoft:UXListBox x:Name="lbMyMemberships" ItemsSource="{Binding OCMyMemberships, Mode=TwoWay}" SelectedItem="{Binding CurrentMyMemberships, Mode=TwoWay}" Margin="2" Height="331" ImageMemberPath="IconName" DisplayMemberPath="Description" AllowDropItem="True" AllowMoveItem="True" AllowRemoveItem="False" ItemContentType="ContentAndImage" ItemImageHeight="32" ItemImageWidth="32" ItemImageStretch="Fill" Style="{StaticResource UXListBoxTransparentStyle}" >
<i:Interaction.Behaviors>
<Intersoft:DropTargetBehavior AllowDropItem="True"/>
</i:Interaction.Behaviors>
</Intersoft:UXListBox>
We are using MVVM. Is there a way to capture this condition and prevent the user from doing this?
Thanks,
Ross
Hi Ross,This issue is a bug in Drag-Drop framework. Right-click should not initiate drag and this is the one causing the issue.
The hotfix is being prepared for this issue, you can get it on the latest hotfix release. Let me know if you encounter issue when right-click is not used.
About the UXListBox settings, you actually do not need to insert additional behavior.
You just need the AllowDropItem="True" property. Most of drag-drop related feature is configurable directly in UXListBox, so no need to insert additional behavior.
Regards
Andry
How do I obtain the hotfix?
Hello Ross,
You can get the latest hotfixes by using UpdateManager tools."C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\UpdateManager\ISNet.WebUI.UpdateManager.exe"
We are planning to release new hotfixes within this month asap.Please let me know if you could not obtain the hotfix. I will try to send it manually.
Regards,Handy
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname