void gridManage_OnGetDataSource(object sender, EventArgs e) { PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions(); options.PageSize = gridManage.PageSize; options.PageNumber = gridManage.CurrentPageIndex; gridManage.DataSource = SessionManager.GetCollection <TransitPlacePicture, PlaceService.ServiceQueryOptions, int>( RequestId, options, SessionManager.PlaceService.GetPlacePictures); }
protected override IEnumerable GetResults() { PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions(); options.PageNumber = Grid.CurrentPageIndex; options.PageSize = Grid.PageSize; return SessionManager.GetCollection<TransitPlace, PlaceService.ServiceQueryOptions, string>( SearchQuery, options, SessionManager.PlaceService.SearchPlaces); }
void gridManage_OnGetDataSource(object sender, EventArgs e) { PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions(); options.PageSize = gridManage.PageSize; options.PageNumber = gridManage.CurrentPageIndex; gridManage.DataSource = SessionManager.GetCollection<TransitPlacePicture, PlaceService.ServiceQueryOptions, int>( RequestId, options, SessionManager.PlaceService.GetPlacePictures); }
protected override IEnumerable GetResults() { PlaceService.ServiceQueryOptions options = new PlaceService.ServiceQueryOptions(); options.PageNumber = Grid.CurrentPageIndex; options.PageSize = Grid.PageSize; return(SessionManager.GetCollection <TransitPlace, PlaceService.ServiceQueryOptions, string>( SearchQuery, options, SessionManager.PlaceService.SearchPlaces)); }