Hiding items of submenu

Vote:
 

I am using pagetree for Submenu. What i want is if i set the property ShowMenuItems=false then menuitems should be hidden

SubMenuItem1

SubMenuItem2

and if i set it to true then

SubMenuItem1

Item1

Item2

SubMenuItem2

 

Also what i want to do is when i click on any Item i want to get its parent SubMenuItem so that i can change the css of that.

 

How can i do this? Any help is appreciated.

#56005
Dec 29, 2011 11:33
Vote:
 

I would maybe nest a Repeater or MenuList inside the PageList where the SubMenuItem is and toggle it's visibility based on the ShowMenuItems Property.

Frederik

#56008
Dec 29, 2011 12:34
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.