public void AppendChild(string nodeId, IEnumerable<TreeNodeBase> nodes) { List<JRawValue> listNodes = new List<JRawValue>(); foreach (TreeNodeBase node in nodes) { listNodes.Add(new JRawValue(node.ToScript(false))); } this.CallNode("appendChild", nodeId, listNodes); }