Silverlight DataPager

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;