views:

13

answers:

0

i am using silverlight data pager with the devexpress silverlight datagrid and have the

following code to implement paging for the silverlight datagrid.

  PagedCollectionView itemListView = new PagedCollectionView((System.Collections.ObjectModel.ObservableCollection<ServiceReference1.SafetyPADDTO>)e.Result);
            datapgr.Source = itemListView;            
            UnRECsafetyPADgrid.DataSource = itemListView;              

on moving from one page to another page the datasource of the grid changes to the next page ,but that does'nt gets reflected in the datagrid ui.it displays the data in the first page .