views:

335

answers:

1

Hi to all

I have a problem when i use the PagedCollectionView in my business application. I made a sample solution and i could reproduce the exception that PagedCollectionView throws. This happens when i use two or more i.e. DataGrids which have as an ItemSource sorted and filtered PagedCollectionViews. All this PagedCollectionViews are operating on the same EntitySet(_productContext.Products) Now if i delete entities on each DataGrid and make a RejectChanges() on the Context, it always throws a ArgumentOutOfRangeException in the RejectAllChanges()-Method (MainPageViewModel).

Here is my sample solution. It uses the AdventureWorks 2008 database which you can find here or on my upload. It should also work with AdventureWorks 2005, upload here.

I would be deeply grateful for your help, because i have the same problem in my business app.

Thank you

A: 
  1. http://www.codeplex.com/MSFTDBProdSamples
mercedakias
2. http://rapidshare.com/files/358285931/SQL2008.AdventureWorks_All_Databases.x86.msi
mercedakias
3. http://rapidshare.com/files/358290447/SQL2005.AdventureWorksDB.msi
mercedakias
This is not an answer, please delete, I have edited your question to include this info.
AnthonyWJones