protected void ASPxTreeList1_CustomJSProperties(object sender, DevExpress.Web.ASPxTreeList.TreeListCustomJSPropertiesEventArgs e) { Hashtable data = new Hashtable(); string[] filedNames = new string[] { "Department", "Budget", "Location" }; foreach (TreeListNode node in ASPxTreeList1.GetVisibleNodes()) { Hashtable tuplet = new Hashtable(); foreach (string fieldName in filedNames) { tuplet[ASPxTreeList1.Columns[fieldName].Index] = node[fieldName]; } data[node.Key] = tuplet; } e.Properties["cpData"] = data; }