I am using pagetree for Submenu. What i want is if i set the property ShowMenuItems=false then menuitems should be hidden
and if i set it to true then
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.
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.