Ejemplo n.º 1
0
 protected override IEnumerable GetResults()
 {
     AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
     options.PageNumber = Grid.CurrentPageIndex;
     options.PageSize = Grid.PageSize;
     return SessionManager.GetCollection<TransitAccountActivity, AccountService.ServiceQueryOptions, string>(
         SearchQuery, options, SessionManager.AccountService.SearchAccounts);
 }
Ejemplo n.º 2
0
 protected override IEnumerable GetResults()
 {
     AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
     options.PageNumber = Grid.CurrentPageIndex;
     options.PageSize   = Grid.PageSize;
     return(SessionManager.GetCollection <TransitAccountActivity, AccountService.ServiceQueryOptions, string>(
                SearchQuery, options, SessionManager.AccountService.SearchAccounts));
 }
Ejemplo n.º 3
0
 void gridManage_OnGetDataSource(object sender, EventArgs e)
 {
     AccountPicturesQueryOptions ap = new AccountPicturesQueryOptions();
     ap.Hidden = false;
     AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
     options.PageSize = gridManage.PageSize;
     options.PageNumber = gridManage.CurrentPageIndex;
     gridManage.DataSource = SessionManager.GetCollection<TransitAccountPicture, AccountService.ServiceQueryOptions, int, AccountPicturesQueryOptions>(
         RequestId, ap, options, SessionManager.AccountService.GetAccountPictures);
 }
Ejemplo n.º 4
0
    void gridManage_OnGetDataSource(object sender, EventArgs e)
    {
        AccountPicturesQueryOptions ap = new AccountPicturesQueryOptions();

        ap.Hidden = false;
        AccountService.ServiceQueryOptions options = new AccountService.ServiceQueryOptions();
        options.PageSize      = gridManage.PageSize;
        options.PageNumber    = gridManage.CurrentPageIndex;
        gridManage.DataSource = SessionManager.GetCollection <TransitAccountPicture, AccountService.ServiceQueryOptions, int, AccountPicturesQueryOptions>(
            RequestId, ap, options, SessionManager.AccountService.GetAccountPictures);
    }