I am using ObjectListView . And use the RefreshObject () method to update only the changed object.
// The difference between associations and updatedAssociations is only in // one item, which ID field remains the same. // So i find an updated item by ID in the associations (before updating). //And say Object ListView to to refresh this item. var associationToUpdate = associations.References.Where( x => x.ID == associationIDToUpdate).FirstOrDefault(); olvAssociations.RefreshObject(associationToUpdate); // And only after this set the model to updated model associations = updatedAssociations;
But nothing happens. Does anyone know what the matter is?
source share