Show child pages of currently selected top level nav item (v5)
Hello,
I've created a vertical tree navigation, showing top level items initially. I've selected the option to show all existing levels.
If I click on a top level item that has children, they don't show in the navigation.
I only see child pages listed under a top level item in the navigation if I'm currently viewing a child page.
What settings do I need to show all child pages of a currently selected top level or parent page?
Thanks!
Regards,
N
Any resolution to this? I'm using tree navigation
-Category1
++prod1
++prod2
-Category2
++prod3
++prod4
When I click on Category1 or Category2, it does not auto-expand showing the products under. I have to physically click the sideways triangle to force the child pages to show.
Hey Corby,
Out of the box this will work because none of the navigation controls mimic the sidemenu functionality that you're looking for.
Two ways of making it work how ever would be to change 'Category1' and 'Category2' to group pages and checking the box labeled 'Group pages redirect to the first subpage' in the widget option.
Secondly, you can add some custom JavaScript to force a .Toggle(); mimicking the double-click functionality. (double-clicking 'category1' expands its child nodes).
But ideally you'd be building your own navigation widget to avoid the RadControls loading overhead and get rid of the somewhat extensive markup it generates or use something like the CleanNav Control from Aptera.
Hey Corby,
Out of the box this will work because none of the navigation controls mimic the sidemenu functionality that you're looking for.
Two ways of making it work how ever would be to change 'Category1' and 'Category2' to group pages and checking the box labeled 'Group pages redirect to the first subpage' in the widget option.
Secondly, you can add some custom JavaScript to force a .Toggle(); mimicking the double-click functionality. (double-clicking 'category1' expands its child nodes).
But ideally you'd be building your own navigation widget to avoid the RadControls loading overhead and get rid of the somewhat extensive markup it generates or use something like the CleanNav Control widget from Aptera.
www.sitefinity.com/.../cleannav-control-
Hey guys,
I just wanted to follow up with another suggestion. You can set a custom template for the vertical tree navigation, which will contain a RadTreeView
and then bind to ItemDataBound event for instance. In the event handler you can get the current page and find the correspoding RadTreeViewItem
and set the property "Expanded" to true for all of its children.
Kind regards,