I have an existing WPF application which uses Microsoft.Windows.controls.Datagrid. I want to add the RadDataPager to do the pagination, how can I do it?
Here's my sample code. It displays the data but it doesn't do the pagination. All data is displayed in a single page.
<dg:DataGrid Name="dgRegistryDetails" FontSize="14" DockPanel.Dock="Bottom" Foreground="#FF07315B"
ItemsSource="{Binding}" CanUserSortColumns="true"
IsReadOnly="True" AutoGenerateColumns="False" >
<telerik:RadDataPager VerticalAlignment="Bottom" DisplayMode="FirstLastPreviousNextNumeric" Source="{Binding Items, ElementName=dgRegistryDetails}" IsTotalItemCountFixed="True" x:Name="RadPager" PageSize="10" />