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
Item1
Item2
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.
Frederik
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.