More in this section

Forums / Bugs & Issues / Navigation tree not showing childs when group page is not shown on navigation

Navigation tree not showing childs when group page is not shown on navigation

2 posts, 1 answered
  1. Lasse
    Lasse avatar
    30 posts
    Registered:
    08 Jun 2012
    10 Jan 2011
    Link to this post
    Hi!

    I recently tried to get the navigation widget to show the tree without group-page but with the children (thus having them on a different indentation level, separating them from the other navigation items just slightly). However, if the group page's setting for showing it on navigation is disabled, the whole tree underneath is not shown. This could be by design, but in that case I would propose a change (for example to ask if all sub-pages should be hidden from navigation when the group page's setting on that has been changed).

    1. Create template with a navigation component (set it to tree-view and to open children by default)
    2. create group page (select shown in navigation)
    3. create few child pages (with the template) for group page created in 2
    4. create a page outside the group page from 2 (also with the template)
    5. view pages, confirm that the children from step 3 are shown correctly on the tree
    6. edit properties of the group page to not show it in navigation
    7. view any of the pages again, confirming that the child pages are not shown in navigation anymore (even if you are on such a child page..)
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    10 Jan 2011
    Link to this post
    Hi Lasse,

    If the parent item is not visible all child elements are also hidden. This is the behavior of RadTreeView control. Generally in Windows if you do not have access for a root folder you cannot access it child folders.

    If you want to see item which parent is not presented into the navigation you will need a custom control which nodes you have to bind manually by using PageManager and its methods or PagesFacade.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
2 posts, 1 answered