/// <summary> /// Handles the GridReorder event of the rGridTransactions control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="GridReorderEventArgs"/> instance containing the event data.</param> private void rGridTransactions_GridReorder(object sender, GridReorderEventArgs e) { var batchService = new Rock.Model.FinancialTransactionService(); var queryable = batchService.Queryable(); List <Rock.Model.FinancialTransaction> items = queryable.ToList(); batchService.Reorder(items, e.OldIndex, e.NewIndex, CurrentPersonId); BindGrid(); }