I want to highlight the parent menu item on selecting the child menu item. I have written the script written in the examples, but the FindItemByUrl returns empty don't know why.
Here is the script.
Dim currentItem As RadMenuItem = RadMenu1.FindItemByUrl(Request.Url.PathAndQuery)
If currentItem IsNot Nothing Then
'Select the current item and his parents
currentItem.HighlightPath()
Else
RadMenu1.Items(0).HighlightPath()
End If