コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }