RadDataBoundListBox and PullToRefresh

2 posts, 0 answers
  1. Eduardo
    Eduardo avatar
    1 posts
    Member since:
    Jun 2014

    Posted 02 Jun 2014 Link to this post

    Hi all. I use WP8 and telerik's library in my project.

    Problem with RadDataBoundListBox when the content is empty and user invoke pulltorefresh. The message "Down and release" didn't disappear and when we repeat this action the message falls below. We can do this until disappears. Content must be empty.

    My Code:
    Page.xaml

    <telerikPrimitives:RadDataBoundListBox x:Name="dataBoundListBox" IsCheckModeEnabled="False"<br>                                                       IsPullToRefreshEnabled="True" UseOptimizedManipulationRouting="False"<br>                                                       EmptyContentDisplayMode="DataSourceEmpty"<br>                                                       ShowPullToRefreshWhenNoData="True" <br>                                                       RefreshRequested="OnRefreshTemplateRequested" <br>                                                       Height="600"<br>                                                       IsItemReorderEnabled="True"><br>                <telerikPrimitives:RadDataBoundListBox.EmptyContentTemplate><br>                    <DataTemplate><br>                        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top"><br>                            <TextBlock Text="text1" HorizontalAlignment="Center" Style="{StaticResource PhoneTextSubtleStyle}"/><br>                            <TextBlock Text="text2" HorizontalAlignment="Center" Style="{StaticResource PhoneTextSubtleStyle}"/><br>                            <TextBlock Text="text3" HorizontalAlignment="Center" Style="{StaticResource PhoneTextSubtleStyle}"/><br>                        </StackPanel><br>                    </DataTemplate><br>                </telerikPrimitives:RadDataBoundListBox.EmptyContentTemplate><br>                <telerikPrimitives:RadDataBoundListBox.ItemTemplate><br>                    <DataTemplate><br>                        <TextBlock Text="Some Test " /><br>                    </DataTemplate><br>                </telerikPrimitives:RadDataBoundListBox.ItemTemplate><br>                <telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation><br>                    <telerik:RadAnimationGroup><br>                        <telerik:RadMoveAnimation StartPoint="400, 0" EndPoint="0, 0" Duration="0:0:0.5"/><br>                        <telerik:RadFadeAnimation StartOpacity="0" EndOpacity="1" Duration="0:0:0.5"/><br>                        <telerik:RadAnimationGroup.Easing><br>                            <CubicEase EasingMode="EaseIn"/><br>                        </telerik:RadAnimationGroup.Easing><br>                    </telerik:RadAnimationGroup><br>                </telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation><br>                <telerikPrimitives:RadDataBoundListBox.ItemRemovedAnimation><br>                    <telerik:RadAnimationGroup><br>                        <telerik:RadMoveAnimation StartPoint="0, 0" EndPoint="0, -90" Duration="0:0:0.5"/><br>                        <telerik:RadFadeAnimation StartOpacity="1" EndOpacity="0" Duration="0:0:0.5"/><br>                        <telerik:RadAnimationGroup.Easing><br>                            <CubicEase EasingMode="EaseOut"/><br>                        </telerik:RadAnimationGroup.Easing><br>                    </telerik:RadAnimationGroup><br>                </telerikPrimitives:RadDataBoundListBox.ItemRemovedAnimation><br>            </telerikPrimitives:RadDataBoundListBox>      
           
     
    Page.xaml.cs

    private async void OnRefreshTemplateRequested(object sender, EventArgs e)<br>        {<br>            await Task.Delay(1000);<br>            dataBoundListBox.StopPullToRefreshLoading(true, true);<br>        }







  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 02 Jun 2014 Link to this post

    Hi Eduardo,

    Happy news: we've released an Internal Build that fixes this issue. You should be able to download it from your Telerik account.

    Regards,
    Deyan
    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.

     
  3. DevCraft banner
Back to Top