/// <summary> /// Handles the GridReorder event of the grdFinancialGivingProfile 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 rGridGivingProfile_GridReorder(object sender, GridReorderEventArgs e) { var profileService = new FinancialScheduledTransactionService(); var queryable = profileService.Queryable(); List <FinancialScheduledTransaction> items = queryable.ToList(); profileService.Reorder(items, e.OldIndex, e.NewIndex, CurrentPersonId); BindGrid(); }