More in this section

Forums / Developing with Sitefinity / panelbar: only show children if parent is selected

panelbar: only show children if parent is selected

4 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    16 Dec 2009
    Link to this post
    Hi

    How do i setup the panel bar to collapse all the child nodes, and only expand nodes if the parent or any of its children are selected

    i.e.
    In the following example, each product have 2 subpages (pics and more info)
    However, i only want to show the subpages if the parent is selected (in the below example, product1 is selected) 

    Our Products
    --product1
    -----product1 Pics
    -----product1 more info
    --product2
    --product3
    --product4
    --product5


    How would i achieve this? is it possible with the current settings?
    Thanks
  2. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    16 Dec 2009
    Link to this post
    FYI its 3.6 SP2
  3. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    16 Dec 2009
    Link to this post
    I figured out why this wasn't working as it should
    it's because i had EnableEmbeddedBASEStyleSheet set to false,

    i've set it to true, but a load of stying is messing up the menu
    Is there a way to make this work without adding in the Extra CSS?

    thanks
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Dec 2009
    Link to this post
    Hello Quade,

    If you use the embedded skins the styling should be working fine. Most probably you have custom style that breaks. Is there a demo link from where we could see what is going wrong.


    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
4 posts, 0 answered