Disable Default RadContextMenu On Mouse Enter effect

2 posts, 1 answers
  1. Nikhil
    Nikhil avatar
    11 posts
    Member since:
    Apr 2011

    Posted 11 Jul 2011 Link to this post


    I am using RadContext menu to show the menu options. whereas i dont want highlight the menu option on Mouse Over event. I tried to apply the visual states but it didnt worked.

    Could you please help me
  2. Answer
    Dani avatar
    848 posts

    Posted 12 Jul 2011 Link to this post

    Hi Nikhil,

    The RadMenuItem in RadContextMenu contains four control templates - TopLevelHeaderTemplate, TopLevelItemTemplate, SubMenuHeaderTemplate and SubMenuItemTemplate. Inside each of these control template there is a ButtonChrome control that is responsible for the visual states of the menu item. To cancel the mouse over effect, simply set RenderMouseOver  = "False" to each of the ButtonChrome controls.

    I hope this helps.

    Kind regards,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft R3 2016 release webinar banner
Back to Top