/// <summary> /// Updates the node title in the parent tree. /// </summary> private void RegisterParentFormTitleUpdate(string contentType, string contentId, string newTitle) { newTitle = PageUtil.EscapeSingleQuotes(newTitle); newTitle = PageUtil.EscapeDoubleQuotes(newTitle); string updateNodeTitle = "parent.updateNodeTitle('" + contentType + "','" + contentId + "','" + newTitle + "');"; Page.ClientScript.RegisterStartupScript(typeof(Page), "updateNodeTitle", updateNodeTitle, true); }