+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Show child pages of currently selected top level nav item (v5)

Show child pages of currently selected top level nav item (v5)

5 posts, 0 answered
  1. Nicole
    Nicole avatar
    2 posts
    Registered:
    20 Aug 2012
    13 Apr 2012
    Link to this post
    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
  2. Corby
    Corby avatar
    48 posts
    Registered:
    19 Sep 2011
    28 Dec 2012
    Link to this post

    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.

  3. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    Registered:
    13 Aug 2007
    02 Jan 2013
    Link to this post

    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.

  4. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    Registered:
    13 Aug 2007
    02 Jan 2013 in reply to Corby
    Link to this post

    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.

    http://www.sitefinity.com/developer-network/marketplace/modules/aptera-inc/cleannav-control-


  5. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    14 Apr 2013
    Link to this post

    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,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered