Navigation tree not showing childs when group page is not sh

Posted by Community Admin on 04-Aug-2018 10:57

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

All Replies

Posted by Community Admin on 10-Jan-2011 00:00


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..)

Posted by Community Admin on 10-Jan-2011 00:00

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.

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

This thread is closed