Hi Rodney,It seems that when you change IScreenCollectionProperty PageNumber property you are forcing update of the whole content item (IContentItem) where the grid and the pager are located - not sure why LightSwitch team decided to do this (personally I don's see any real reason). I didn't liked also the fact that you cannot simply bind (TwoWay) all properties like in any other MVVM scenario. While you can bind PageSize and PageNumber (not zero based and you need to use at least IValueConverter) the PageCount cannot be bound - the binding will not receive PropertyChanged event and will never be updated. For sure the ideal solution will be if we can have standard IPagedCollectionView exposed instead custom properties related to paging, etc.

Heysol
30 Aug 2012

Perfect it works correctly !!! Just a question my DataPager appears in the middle of the grid. Does this happen because im using a trial ? or how do i place it at the bottom. Thanks

Heysol
30 Aug 2012

Perfect it works correctly !!! Just a question my DataPager appears in the middle of the grid. Does this happen because im using a trial ? or how do i place it at the bottom. Thanks

afateen
30 Aug 2012

Nice sample. Sorting and filtering are working only on the selected page. How can we get sorting and filtering to work on the entire dataset (i.e. across multiple pages)?

Hi Heysol,Are you using the the layout from my application? In my demo I have a Grid with two row definitions (the second is with Auto Height) - RadGridView is associated with the first row and RadDataPager with the second row.

Hi afateen,Indeed server-side sorting, filtering, grouping and paging is possible and I will create separate blog post with more info how this can be achieved. The idea is to consume the oData services exposed by LightSwitch and bind everything using RadDataServiceDataSource:http://demos.telerik.com/silverlight/#DataServiceDataSource/FirstLook

Heysol
31 Aug 2012

Yes, I used the same example maybe something is wrong because it sends and error Objcet reference not set to an instance of an object, this appears when i place the <telerik:RadGridView.Columns> i placed this as you showed in your post

<Grid.RowDefinitions> <RowDefinition /> <RowDefinition Height="Auto" /></Grid.RowDefinitions>but appears in the middle What can i do ?

Heysol
31 Aug 2012

I solve it i place Grid.Row="0" in the grid and Grid.Row="1" in the Datapager and works thanks for this post

Norom
31 Aug 2012

Talking about server-side/client-side sorting and filtering is simply amazing. It's 2012, you know? And, putting screenshots of code is ingenious. You are a components shop, are you not? If you are so incompetent that you cannot write your own code formatter, there are free ones around the net.

afateen
02 Sep 2012

Vladimir, that would be great! I look forward to that blog post.Thanks