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

3 posts, 1 answers
  1. Sergio
    Sergio avatar
    18 posts
    Member since:
    May 2014

    Posted 18 Nov 2014 Link to this post

    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">
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                <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"/>

    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 :)

  2. Answer
    Ivaylo Gergov
    Ivaylo Gergov avatar
    661 posts

    Posted 19 Nov 2014 Link to this post

    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.

    Ivaylo Gergov

    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.

  3. Sergio
    Sergio avatar
    18 posts
    Member since:
    May 2014

    Posted 19 Nov 2014 in reply to Ivaylo Gergov Link to this post

    Great, thank you for your answer :)
Back to Top