More in this section
Forums / Developing with Sitefinity / Disabling nodes - sitemappanel.ascx

Disabling nodes - sitemappanel.ascx

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Karl
    Karl avatar
    45 posts
    18 Jun 2009
    05 Apr 2011
    Link to this post
    Is it possible to hide / disable nodes in the admin sitemap panel based on role permissions? Ideally, rather than display all pages, we would like to hide the pages that a particular role does not have permission to edit. Is this something that can be accomplished.

    Many thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    06 Apr 2011
    Link to this post
    Hello Karl,

    You can access the backend RadTreeView control from

    and hide the nodes you would like.


    protected override void OnPreRender(EventArgs e)
            var nodes = SiteNavigation.GetAllNodes();
            foreach (RadTreeNode n in nodes)
                n.Enabled = false;
    All the best,
    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered