Pool-To-Refresh Problem

9 posts, 0 answers
  1. Alex
    Alex avatar
    23 posts
    Member since:
    Oct 2011

    Posted 12 Aug 2013 Link to this post

    When i trying to remove first item from RadDataBoundListBox with enabled PoolToRefresh option , PoolToRefresh indicator stay visible. Looks like it is related with enabled add/remove animation. Can't reproduce when animation turned off.
  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 12 Aug 2013 Link to this post

    Hi Alex,

    Thanks for writing and for reporting this issue.

    Can you please describe the exact steps we need to take to reproduce this glitch?

    If it is easier for you, you can prepare a sample Windows Phone project that reproduces the glitch and send it to us for further investigation. You will need to open a new support ticket for that

    Thanks for your time.

    Regards,
    Deyan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Alex
    Alex avatar
    23 posts
    Member since:
    Oct 2011

    Posted 12 Aug 2013 Link to this post

    In Visual Studio Databound Template, MainPage.xaml Replace ListBox to:

    <telerikPrimitives:RadDataBoundListBox x:Name="MainListBox"
                                                   IsPullToRefreshEnabled="True"
                                                   Margin="0,0,-12,0"
                                                   ItemsSource="{Binding Items}"
                                                   ItemTap="MainListBox_OnItemTap">
                <telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation>
                    <telerikCore:RadMoveAnimation  InitialDelay="0:0:4"
                                                   StartPoint="0, -300"
                                                   EndPoint="0, 0"
                                                   Duration="0:0:0.3">
                        <telerikCore:RadMoveAnimation.Easing>
                            <CubicEase EasingMode="EaseOut" />
                        </telerikCore:RadMoveAnimation.Easing>
                    </telerikCore:RadMoveAnimation>
                </telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation>
     
                <telerikPrimitives:RadDataBoundListBox.ItemRemovedAnimation>
                    <telerikCore:RadMoveAnimation StartPoint="0, 0"
                                                  EndPoint="0, 500"
                                                  Duration="0:0:0.3">
                        <telerikCore:RadMoveAnimation.Easing>
                            <CubicEase EasingMode="EaseIn" />
                        </telerikCore:RadMoveAnimation.Easing>
                    </telerikCore:RadMoveAnimation>
                </telerikPrimitives:RadDataBoundListBox.ItemRemovedAnimation>
                <telerikPrimitives:RadDataBoundListBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Margin="0,0,0,17"
                                    Width="432"
                                    Height="78">
                            <TextBlock Text="{Binding LineOne}"
                                       TextWrapping="Wrap"
                                       Style="{StaticResource PhoneTextExtraLargeStyle}" />
                            <TextBlock Text="{Binding LineTwo}"
                                       TextWrapping="Wrap"
                                       Margin="12,-6,12,0"
                                       Style="{StaticResource PhoneTextSubtleStyle}" />
                        </StackPanel>
                    </DataTemplate>
                </telerikPrimitives:RadDataBoundListBox.ItemTemplate>
            </telerikPrimitives:RadDataBoundListBox>

    In MainPage.xaml.cs add following :

    private void MainListBox_OnItemTap(object sender, ListBoxItemTapEventArgs e)
            {
     
                App.ViewModel.Items.Remove((ItemViewModel) e.Item.DataContext);
            }

  5. Alex
    Alex avatar
    23 posts
    Member since:
    Oct 2011

    Posted 14 Aug 2013 Link to this post

    Can you reproduce it?
  6. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 15 Aug 2013 Link to this post

    Hi Alex,

    Thanks for writing back and for the shared XAML.

    I have tried to reproduce the glitch in a separate project but did not succeed in doing so.

    Can you please isolate the issue in a simple Windows Phone project and send it to me for further investigation?

    Thanks for your time.

    Regards,
    Deyan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  7. Alex
    Alex avatar
    23 posts
    Member since:
    Oct 2011

    Posted 15 Aug 2013 Link to this post

    You can download it here https://www.dropbox.com/s/sm2bxvnyncdt2k0/DataBoundApp1.zip, i cant attach it.
  8. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 19 Aug 2013 Link to this post

    Hello Alex,

    Thanks for writing back and for the provided project.

    I would like to inform you that we have been able to reproduce the issue and will be fixing it in an Internal Build by the end of this or in the beginning of the next week.

    You will be able to download the files from your account as soon as they are live.

    Let us know should you have further questions or  need assistance.

    Regards,
    Deyan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  9. Alex
    Alex avatar
    23 posts
    Member since:
    Oct 2011

    Posted 23 Aug 2013 Link to this post

    Looks like issue fixed in last build, but only partially. 
    I can't localize problem, but i see following behaviour http://www.youtube.com/watch?v=o2JRMzg4jS4
  10. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 26 Aug 2013 Link to this post

    Hello Alex,

    Thanks for writing back and for the attached video.

    It seems we haven't been able to cover all the cases which cause the glitch. Can you please share with us the code of your scenario so that we make sure we reproduce it in its original state on our side. It is important to do exactly what you are doing to make sure the issue pops up here as well.

    We will make sure to address the glitch in our upcoming IB.

    Thanks for your time.

    Regards,
    Deyan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner