This is a migrated thread and some comments may be shown as answers.

ItemReorder auto-fires if I tap on an item while scrolling

2 Answers 10 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sergio
Top achievements
Rank 1
Sergio asked on 19 Nov 2014, 12:20 AM
Hello, I'm using the RadDataBoundListBox control in my WP8.1 app, and I have a little problem with the itemReorder feature.

If I tap on an item in the listbox it correctly gets selected and deselected (I have a method that sets the selectedItem to null if I tap on the element I had selected before), and if I hold on an item, the itemReorder feature gets enabled correctly.
The issue is that if I pan up or down in the listBox, the itemReorder triggers on its own on the item I was on with my finger right before lifting it up to scroll the list.

This is the XAML for my ListBox:

<Grid Grid.Row="1" x:Name="ContentRoot" Margin="19,0,19,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <TextBlock Text="Tap and hold on an item to reorder the list" Foreground="Gray"
                       Margin="0,0,0,10" FontSize="16" FontWeight="Thin"/>
            <Primitives:RadDataBoundListBox Grid.Row="1" IsItemReorderEnabled="True"
              ItemTap="listBox_ItemTap" x:Name="listBox"/>
</Grid>

The ItemSource for the ListBox is a List of a custom class i created, and it consists in a UserControl with a StackPanel that contains a couple of UI elements.

Am I missing something here or is it a problem with the Listox?

Thanks in advance for your help :)

Cheers,
Sergio

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivaylo Gergov
Telerik team
answered on 19 Nov 2014, 11:26 AM
Hi Sergio,

We are aware of this bug and it is already fixed. It will be available in our upcoming Service Pack by the end of the month.

Let me know should you have any other questions.

Regards,
Ivaylo Gergov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Sergio
Top achievements
Rank 1
answered on 19 Nov 2014, 12:42 PM
Great, thank you for your answer :)
Tags
DataBoundListBox
Asked by
Sergio
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Sergio
Top achievements
Rank 1
Share this question
or