Example #1
0
 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);
 }
Example #3
0
 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);
 }
Example #4
0
 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));
 }