This question is locked. New answers and comments are not allowed.
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
Page.xaml.cs
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> }