This is a migrated thread and some comments may be shown as answers.

Reversing HighlightPath

1 Answer 49 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Nancy
Top achievements
Rank 1
Nancy asked on 30 Dec 2008, 09:57 PM
I'm using a RadMenu inside a pane in a splitter and the selections post to a content pane. On page_load code behind I am highlighting the menuitem to select it and displaying that page in the content pane. This is fine. Now I need to unhighlight the menuitem when another menuitem is selected. I tried doing this on opening a new page in the content window in the client javascript however I can't find any methods or properties that will un-highlight the menuitem. I can disable and enable it but it is still highlighted. Surely this is not an uncommon practice to initialize a menuitem as selected on page load but seems to be such a chore to go about it.

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jan 2009, 01:22 PM
Hi Nancy,

You can try traversing all menu items and set their CssClass property to empty string.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Nancy
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or