Highlight Main Menu Item on Selection of Sub Menu Item

2 posts, 0 answers
  1. Lakhani
    Lakhani avatar
    5 posts
    Member since:
    Jun 2012

    Posted 25 Oct 2012 Link to this post

    I want to show Selected Main Menu Item also if any Sub Menu Item is selected. e.g. we have menu Items are


    and so on...

    Now whenever user selects Sub-2 of Main-1 Menu then Sub-2 and Main-1 should be shown in different background color or with different style. So how can we do this in Kendo Menu?


    Anil Lakhani
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 03 Nov 2012 Link to this post


    There is not any built-in functionality to support this in the control, however, you can use JavaScript/jQuery to assign the appropriate CSS class to the menu item that corresponds to the current page. 

    Jayesh Goyani
Back to Top