Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Paging Issues
posted

Hi -

I am new to the xamGrid, so please bear with me.  I am trying to test the paging functionality with WCF RIA services.

Here's what I've got:

- Simple grid created by drag&drop so DomainDataSource was created for me and set to autoload.

- Paging is turned on.

I am using Fiddler to watch traffic between client and server.

What I'm seeing is this:

  1. Call to the Get service and returning ALL entities (actually repeated 3 times??).
  2. Call to the Get service with skip and take specified (like I want) (actually repeated 3 times??).

When I click to next page, it (correctly) calls the Get service with skip and take (and only calls once!).

So.. how do I get rid of the intial call without skip and take?  Any idea why these first two calls show 3 times in Fiddler?  Also, when I page to the last page and it doesn't have enough rows to fill, the re-paint of the grid doesn't work right (see below screenshot).

Thanks!!

Parents
  • 585
    posted

    Any help out there?

    I've also taken a look at the Virtual Collection, but not sure if this is applicable/best approach for latest Silverlight and WCF RIA release?  I have not been successful with it either and would like to avoid using it if possible.  I know the standard datagrid supports paging pretty much out of the box, but there are some features in xamGrid I would like to use if possible.

    Any input appreciated!  Thanks!

Reply Children