Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit implementing custom data source for DataPager
1 replies. Latest Post by ehcarleton on November 7, 2009.
(0)
ehcarleton
Member
10 points
46 Posts
11-06-2009 9:28 PM |
The server for my Silverlight app is NOT any Microsoft technology, the web service implements a paging system.
It appears that the solution is to implement IPagedCollectionView that will connect to the backend. Online there is documentation on the interface here:
http://msdn.microsoft.com/en-us/library/system.componentmodel.ipagedcollectionview_members(VS.95).aspx
Within the Silverlight project, class CustomPagedCollectionView : System.ComponentModel.IPagedCollectionView {} is not working, System.ComponentModel.IPagedCollectionView is not found.
Is this problem solved by implementing System.ComponentModel.IPagedCollectionView? If so, where does one find System.ComponentModel.IPagedCollectionView?
Sam
11-07-2009 10:55 AM |
It is a good and right thing that Microsoft is starting to warm to open source... Looking into the source code of the Silverlight Toolkit October 2009, it was discovered that IPagedCollectionView is indeed in the System.ComponentModel namespace. The IPagerCollectionView.cs file was in the the System.Windows.Data folder, thus by adding the System.Windows.Data assembly, the Silverlight project now has reference. Sam