Having an issue and maybe misunderstand implementation. Hope you can help.
I am able to set HighlightPath procedurally for main-item and sub-item in RadMenu using code similar to below:
Dim currentItem As RadMenuItem = RadMenu1.FindItemByText(LabelMainMenu.Text)
If (Not (currentItem) Is Nothing) Then
However, I am unable to find a way to turn off HighlightPath for menu items. Hence, every new menu item click is causing HighlightPath to accrue, sort of like a "visited" status link of a URL on an old HTML page (remember the purple color).
Sorry I digress. :)
I can loop through all menu items, but cannot find a property to turn off, i.e. there is no HighlightPath = false or similar.
I tried setting each item to Item.Items(j).Selected = False, but it does not turn off the highlight of the item.
Is there a global setting to reset all Highlights to nothing? or Perhaps a way to remove HighlightPath option, then turn back on to reset all?
I am struggling to find a solution.