title: DomainDataSource DataPager with silverlight 3 DataGrid & .Net RIA Services
body: <p>I have a simple datagrid example with silverlight 3, and am populating it with the .NET ria services using a DomainDataSource along with a DataPager declaratively (nothing in the code-behind), and am experiencing this problem:</p>
  
  <p>The LoadSize is 30, and the Page size is 15, and when the page is loaded, the 1st and 2nd page appear correctly, but when I go beyond the 2nd page, nothing shows up in the grid.</p>
  
  <p>This used to work in the silverlight 3 beta with the Mix 2009 preview of .NET Ria services, and I've got a really simple example and have verified that the Service on the web project gets called to load a new batch, but the grid doesn't show any data.</p>
  
  <p>Can anyone shed any light as to why grid displays data only for the initial load of data and not subsequent batches from the pager?</p>
  
  <p>Here's my xaml:</p>
  
  <pre><code>    &lt;riaControls:DomainDataSource x:Name="ArtistSource" QueryName="GetArtist" AutoLoad="True" LoadSize="30" PageSize="15"&gt;
          &lt;riaControls:DomainDataSource.DomainContext&gt;
              &lt;domain:AdminContext /&gt;
          &lt;/riaControls:DomainDataSource.DomainContext&gt;
      &lt;/riaControls:DomainDataSource&gt;
  
      &lt;data:DataGrid Grid.Row="1" x:Name="ArtistDataGrid" ItemsSource="{Binding Data, ElementName=ArtistSource}"&gt;
      &lt;/data:DataGrid&gt;
  
      &lt;StackPanel Grid.Row="2"&gt;
          &lt;data:DataPager Source="{Binding Data, ElementName=ArtistSource}" /&gt;
      &lt;/StackPanel&gt;
  </code></pre>