void ServiceClient_GetEntityMenuCustomPermByTypeCompleted(object sender, GetEntityMenuCustomPermByTypeCompletedEventArgs e) { PagedCollectionView pcv = null; if (e.Result != null) { List <T_SYS_ENTITYMENUCUSTOMPERM> menulist = e.Result.ToList(); var q = from ent in menulist select ent; pcv = new PagedCollectionView(q); pcv.PageSize = 25; } dataPager.DataContext = pcv; DtGrid.ItemsSource = pcv; HidePageStyle(); }
void RoleClient_GetEntityMenuCustomPermByTypeCompleted(object sender, GetEntityMenuCustomPermByTypeCompletedEventArgs e) { }
void ServiceClient_GetEntityMenuCustomPermByTypeCompleted(object sender, GetEntityMenuCustomPermByTypeCompletedEventArgs e) { PagedCollectionView pcv = null; if (e.Result != null) { List<T_SYS_ENTITYMENUCUSTOMPERM> menulist = e.Result.ToList(); var q = from ent in menulist select ent; pcv = new PagedCollectionView(q); pcv.PageSize = 25; } dataPager.DataContext = pcv; DtGrid.ItemsSource = pcv; HidePageStyle(); }