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:
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!!
I have opened support cases and am pursing resolution there. Thanks.
Just following up on this thread. Please let us know if you require further assistance.
Brian,
Per our online chat, I will follow up with you on the two questions you outlined above in private support cases.
Thanks,
Stoimen -
Do you have any examples of using the RowFiltersCollection with WCF RIA?
Also any thoughts on the multiple data loads I am seeing?
I need to get this resolved; I would be open to the possibility of paid support if required.
Thanks!
OK, I've got paging (mostly) working with the xamGrid. Looks like my problem was not waiting until the async load with RIA was complete before loading into the VirtualCollection. I added an event handler for the RIA load complete and load the VirtualCollection there. Data displays and the re-draw issue went away! Woohoo! I'm also setting the total items now and it is correctly showing the number of pages.
I do still have a couple issues I am working through, however, and would appreciate some help.
Thank you!!