A better way to do Silverlight 3 Sorting & Paging using DomainDataSource & DataPager


 

Silverlight 3 includes PagedCollectionView class, which provides UI-level grouping, sorting and paging functionality for any data source that implements the IEnumerable interface. This works as long as all the data that you need to sort, page are already fetched to the client which could be a slow process and can potentially consumed lots of memory on the client-side. A better solution is to provide Server-side sorting & paging. 

One way to achieve this is to use .net RIA services’ DomainDataSource and DataPager controls which provides automatic server sorting and paging support. For more details check this out: 

Creating applications with .NET RIA Services Part 4 – Adding a DomainDataSource

However, if you are not using .net RIA services, than you will need to implement ICollectionView to handle sorting and IPagedCollectionView to handle paging yourself –> Silverlight 3 Custom Sorting with Paging Support – Manish Dalal’s blog

About these ads

3 thoughts on “A better way to do Silverlight 3 Sorting & Paging using DomainDataSource & DataPager

  1. Room security at hotels and motels listed as ”fire
    safe, ” generally, those with wired-in smoke alarms and fire extinguishers.
    Workers would get safety training. 264 Compression The SN501-16 CH-006 is one of the most important project for the future of community Removal Services
    in Scotland, which killed 14 people. There are various number of
    Removal Services are required to visit the landmark, a spokesperson for
    the fire fighters to come to the rescue? Keep a leash by
    the door closer help in the prevention of potential arson attacks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s