Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Frans de Jong 522 posts 1762 karma points c-trib
    Feb 02, 2018 @ 11:15
    Frans de Jong
    0

    Remove context menu dots for root of custom tree

    Hi all,

    I'm building a custom tree in Umbraco and I want to remove the context from items. I cant find a working solution...

    So remove the 3 dots and the right click action.

    Thanks, Frans

  • Frans de Jong 522 posts 1762 karma points c-trib
    Feb 02, 2018 @ 12:00
    Frans de Jong
    102

    That moment you post a question after half a day looking around and finding the answer withing a hour after posting:

    protected override TreeNode CreateRootNode(FormDataCollection queryStrings)
    {
        TreeNode rootNode = base.CreateRootNode(queryStrings);
        rootNode.MenuUrl = null;
        return rootNode;
    }
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies