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

RadDataBoundListBox and PullToRefresh

1 Answer 50 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.
Eduardo
Top achievements
Rank 1
Eduardo asked on 02 Jun 2014, 08:21 AM
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>        }







1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 02 Jun 2014, 11:40 AM
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.

 
Tags
DataBoundListBox
Asked by
Eduardo
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or