In Xaml
<data:DataPager x:Name="DataPagerName" DisplayMode="FirstLastPreviousNextNumeric" HorizontalAlignment="Center" Source="{Binding Path=ItemsSource,ElementName=DataGridname}" PageSize="10"/>
C# code
PagedCollectionView tempListView = new PagedCollectionView(e.Result);
DataGridname.ItemsSource = tempListView;
@Muhammad Azeem : Thank you.This encourages me to write more blog posts.
ReplyDelete