Update related lists when related value changes.
This commit is contained in:
@@ -185,7 +185,13 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
private void RefreshFields(Entry tmp)
|
||||
{
|
||||
_DocID = tmp.DocID;
|
||||
if (_DocID != tmp.DocID)
|
||||
{
|
||||
MyDocument.RefreshDocumentEntries(); // Update List for old value
|
||||
_DocID = tmp.DocID; // Update the value
|
||||
_MyDocument = null; // Reset list so that the next line gets a new list
|
||||
MyDocument.RefreshDocumentEntries(); // Update List for new value
|
||||
}
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_EntryInfoExtension.Refresh(this);
|
||||
|
Reference in New Issue
Block a user