public static TreeNodeForBootStrapTreeView GetTreeNode(string nodeText) { var node = new TreeNodeForBootStrapTreeView(); node.Text = nodeText; node.Icon = "glyphicons glyphicons-folder-minus"; node.SelectedIcon = "glyphicons glyphicons-folder-plus"; return(node); }
public static TreeNodeForBootStrapTreeView GetTreeNode(SelfReferentialItem selfReferentialItem) { var node = new TreeNodeForBootStrapTreeView(); node.Text = selfReferentialItem.DisplayName; node.Icon = "glyphicons glyphicons-folder-minus"; //node.SelectedIcon = "glyphicons glyphicons-folder-plus"; //node.Href = "gotoTypePage(\"" + selfReferentialItem.ID + "\")"; return(node); }