Skip to main content

Microsoft Silverlight

Answered Question implementing custom data source for DataPager RSS Feed

(0)

ehcarleton
ehcarleton

Member

Member

9 points

44 Posts

implementing custom data source for DataPager

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

ehcarleton
ehcarleton

Member

Member

9 points

44 Posts

Answered Question

Re: implementing custom data source for DataPager

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

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities