Пример #1
0
 /// <summary>
 /// Returns the JSON markup for the full context menu
 /// </summary>
 public string GetJSONContextMenu()
 {
     if (ShowContextMenu)
     {
         JTreeContextMenu menu = new JTreeContextMenu();
         return(menu.RenderJSONMenu());
     }
     else
     {
         return("{}");
     }
 }
Пример #2
0
        /// <summary>
        /// Returns the JSON markup for the full context menu
        /// </summary>
        public string GetJSONContextMenu()
        {
            if (ShowContextMenu)
            {
                JTreeContextMenu menu = new JTreeContextMenu();
                return menu.RenderJSONMenu();
            }
            else
            {
                return "{}";
            }

        }