Reversing HighlightPath

2 posts, 0 answers
  1. Nancy
    Nancy avatar
    3 posts
    Member since:
    Dec 2008

    Posted 30 Dec 2008 Link to this post

    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.
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 02 Jan 2009 Link to this post

    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.
Back to Top