| 
                                                                            
                                                                                AJ
                                                                            - 
                                                                                5/23/2011 7:49:33 AM
                                                                            
                                                                         
                                                                        Hide child pages unless you're on the parent page using CMSListMenu 
                                                                            I am using ASPX template pages and I am new to Kentico. I have a side navigation area that has a few parent pages - for example Home, About and Gallery. Those pages have child pages and my templates currently use the CMSListMenu and it will display all the pages so my nav looks similar to:
 Home
 --Page 1
 --Page 2
 About
 --History
 --More Info
 Gallery
 --Photo Gallery
 --Video Gallery
 
 but unless you are on the About page, or for example on the History page, I want all the other pages in the nav to be hidden similar to this:
 
 Home
 About
 --History
 --More Info
 Gallery
 
 If you go to a Gallery or are on the Gallery page then it would resemble:
 
 Home
 About
 Gallery
 --Photo Gallery
 --Video Gallery
 
 And so on.
 
 I'm having a hard time finding how to set this up. I though Path would work but can't seem to figure out that for this case. How can this be done in Kentico?
 
 Currently my control looks like:
 
 <cms:CMSListMenu runat="server" ID="SideNavigation" Path="/%" MaxRelativeLevel="2" ItemIDPrefix="SubNav"/>
 
                                                                            
                                                                         
 
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                         |