B2015-089 Restore inner xml when there is a problem trying to save a duplicate RO, C2015-017 – added red text that appears when Duplicate button is pressed.

This commit is contained in:
2017-02-02 18:44:40 +00:00
parent bdabdd1c1f
commit 83c3a69a89
3 changed files with 48 additions and 15 deletions

View File

@@ -563,6 +563,12 @@ namespace ctlXMLEditLib
return false;
}
//B2015-089 - restore the inner xml data when user duplicated an RO and tried to save with out giving it a new setpoint ID (Accessory Page ID)
public void RestoreInnerXml(string savedInnerXml)
{
editelem.InnerXml = savedInnerXml;
}
// SaveData saves the data in the element which had been sent to the control. Return
// true if success, false if fail.
public bool SaveData()