<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : PagerRepository with DataPager in SL</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : PagerRepository with DataPager in SL</description>
  <pubDate>Fri, 10 Apr 2026 19:13:35 -700</pubDate>
  <lastBuildDate>Thu, 08 Nov 2012 11:42:34 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3771</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>PagerRepository with DataPager in SL :   Great. Since you only asked...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15156#15156</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 08-Nov-2012 at 11:42am<br /><br />Great. Since you only asked me about the DataPager I only gave you that part. To be clear, IPagedCollectionView is used by the DataPager to page your collection. ICollectionView is used by the control that displays the collection. They are technically two different things. <div>&nbsp;</div><div>Alternatively, you can simply expose the current page as a property of your class and then bind the control to it. ICollectionView gives you the notion of a current record. You may not need that, or you could implement that in the view model. It's a lot simpler than implementing all the members of ICollectionView.</div>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 11:42:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15156#15156</guid>
  </item> 
  <item>
   <title>PagerRepository with DataPager in SL : Good!I was studying exactly this,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15155#15155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1485" rel="nofollow">cefernan</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 08-Nov-2012 at 11:35am<br /><br />Good!<div><br></div><div>I was studying exactly this, I'll try.&nbsp;</div><div><br></div><div>Thank you.</div>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 11:35:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15155#15155</guid>
  </item> 
  <item>
   <title>PagerRepository with DataPager in SL :   Sorry, I only gave you half...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15154#15154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 08-Nov-2012 at 11:29am<br /><br />Sorry, I only gave you half the information. Your class also has to implement ICollectionView. <div>&nbsp;</div><div><a href="http://msdn.microsoft.com/en-us/library/system.comp&#111;nentmodel.icollecti&#111;nview%28v=vs.95%29.aspx" target="_blank"><u><font color="#0066cc">http://msdn.microsoft.com/en-us/library/system.componentmodel.icollectionview(v=vs.95).aspx</font></u></a></div>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 11:29:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15154#15154</guid>
  </item> 
  <item>
   <title>PagerRepository with DataPager in SL :  Marcel,There is something not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15152#15152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1485" rel="nofollow">cefernan</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 08-Nov-2012 at 10:53am<br /><br />Marcel,<div><br></div><div>There is something not so clear to me. My class will be just a implementation of IPagedCollectionView, so I won't have a list of results, just couple properties and methods redirecting to the related in IPager. Where will I use page.Results (from Page&lt;T&gt;) in my class?</div><span style="font-size:10px"><br /><br />Edited by cefernan - 08-Nov-2012 at 10:55am</span>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 10:53:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15152#15152</guid>
  </item> 
  <item>
   <title>PagerRepository with DataPager in SL : Yes, that&amp;#039;s correct. Your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15123#15123</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 07-Nov-2012 at 12:13pm<br /><br />Yes, that's correct. Your class will translate calls to IPagedCollectionView members to the corresponding member on the nested IPager&lt;T&gt;. It's a straight forward adapter as the two interfaces are very similar.&nbsp;]]>
   </description>
   <pubDate>Wed, 07 Nov 2012 12:13:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15123#15123</guid>
  </item> 
  <item>
   <title>PagerRepository with DataPager in SL : You mean that I have to create...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15121#15121</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1485" rel="nofollow">cefernan</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 07-Nov-2012 at 11:58am<br /><br />You mean that I have to create a class implementing IPagedCollectionView, and the IPager&lt;T&gt; must be used inside this class to create my collection.&nbsp;<div><br></div><div><div>&nbsp; &nbsp; public class PagedItems&lt;T&gt; : IPagedCollectionView</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; private IPager&lt;T&gt; _pager;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ...</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // IPagedCollectionView members ...</div><div>&nbsp; &nbsp; }</div><div><br></div></div><div><div>Is this it?</div><div></div></div>]]>
   </description>
   <pubDate>Wed, 07 Nov 2012 11:58:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15121#15121</guid>
  </item> 
  <item>
   <title>PagerRepository with DataPager in SL :     Yes, it is. Yousimply...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15115#15115</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 07-Nov-2012 at 8:40am<br /><br />Yes, it is. You&nbsp;simply write your own IPageCollectionView adapter to wrap the IPager&lt;T&gt; you get from the PagerRepository.<div><br><div></div><a href="http://msdn.microsoft.com/en-us/library/system.comp&#111;nentmodel.ipagedcollecti&#111;nview%28v=vs.95%29.aspx" target="_blank"><u><font color="#0066cc">http://msdn.microsoft.com/en-us/library/system.componentmodel.ipagedcollectionview(v=vs.95).aspx</font></u></a></div><span style="font-size:10px"><br /><br />Edited by mgood - 07-Nov-2012 at 11:00am</span>]]>
   </description>
   <pubDate>Wed, 07 Nov 2012 08:40:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15115#15115</guid>
  </item> 
  <item>
   <title>PagerRepository with DataPager in SL : Is it possible to use PagerRepository...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15113#15113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1485" rel="nofollow">cefernan</a><br /><strong>Subject:</strong> 3771<br /><strong>Posted:</strong> 07-Nov-2012 at 3:24am<br /><br /><div>Is it possible to use PagerRepository with a DataPager?</div><div><br></div><div>Thanks.</div>]]>
   </description>
   <pubDate>Wed, 07 Nov 2012 03:24:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3771&amp;PID=15113#15113</guid>
  </item> 
 </channel>
</rss>