Implementing logical paging with RadDataPager for WPF and Silverlight
Posted
on Dot net Slackers
See other posts from Dot net Slackers
Published on Tue, 13 Apr 2010 00:00:00 GMT
Indexed on
2010/04/13
18:53 UTC
Read the original article
Hit count: 436
Following the great series about RadDataPager started by Rossen and Pavel, today I’m going to show you how to implement logical paging. We are going to implement alphabetical paging similar to this ASP.NET AJAX Grid Demo.
As you may already know, the key to the heart of the RadDataPager is the IPagedCollectionView interface. You can create your own implementations of this interface and implement any custom logic for paging you want. This is exactly what we are going to do in this article.
Introducing PagedCollectionViewBase and LogicallyPagedCollectionView<T>
If you have looked at IPagedCollectionView interface you may have found out that it is not a trivial interface to implement. It has 5 methods, 6 properties and 2 events – total number of members to implement 13. To ease any further implementation of the paging interface we are going to create a base class that will have most of the ...
Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
© Dot net Slackers or respective owner