Hi
Lets say i have a simple menu with only one level of items, I am highlighting the menu item corresponding to the page the user is viewing like so
Lets say i have a simple menu with only one level of items, I am highlighting the menu item corresponding to the page the user is viewing like so
Dim menuItem As RadMenuItem = MainMenu.FindItemByUrl(Request.Url.PathAndQuery)
If Not (menuItem Is Nothing) Then
menuItem.CssClass =
"rmFocused"
End If
My menu has now changed to have child items
e.g
Parent1
Child1
Child2
Parent 2
Parent 3
Parent 4
Child 3
Child 4
If the user selects the menu item called Child 1, i want its parent menu item Parent1 to be highlighted when the page loads to show the user is in that 'section' of the menu. I dont know how to do this
thanks
andrea