void DocumentManager_OnSaveData(object sender, CMS.ExtendedControls.DocumentManagerEventArgs e) { TreeNode node = e.Node; // Get content string content = node.DocumentContent.GetContentXml(); node.UpdateOriginalValues(); node.SetValue("DocumentContent", content); }
void DocumentManager_OnSaveData(object sender, CMS.ExtendedControls.DocumentManagerEventArgs e) { var node = e.Node; node.SetValue("DocumentContent", node.DocumentContent.GetContentXml()); }