protected override bool Update(object newValue) { var email = _Page.GetVolunteerToEdit(); if ((Column == "StateCode") || (Column == "PartyCode")) { var partyKey = _Page.ControlEditVolunteerStateCode.GetValue() + _Page.ControlEditVolunteerPartyCode.GetValue(); VolunteersView.UpdatePartyKey(partyKey, email); } else { var column = VolunteersView.GetColumn(Column); VolunteersView.UpdateColumn(column, newValue, email); } if (Column == "Email") { // update notes VolunteersNotes.UpdateEmailByEmail(newValue as string, email); } return(true); }