Make a selected/active menu item

5 posts, 0 answers
  1. Matt
    Matt avatar
    2 posts
    Member since:
    Jul 2010

    Posted 07 Jul 2010 Link to this post

    I have everything setup in the CSS, but I'm trying to get the selected state of the nav to be identical to hover state. I changed the CSS selected state but it's not resolving. Any leads would be appreciated
  2. Michael
    Michael avatar
    51 posts
    Member since:
    Dec 2008

    Posted 08 Jul 2010 Link to this post

    I'm having the same problem with two menu skin that I've restyled.  It'd be nice to have on the Visual style Builder if there was an option to set the selected item.  But in the meantime I'd like to figure out how to set and keep the selected menu item.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 13 Jul 2010 Link to this post

    Hello Michael and Matt,

    Unfortunately the selected state was added recently in RadMenu and it seems it wasn't added in Visual Style Builder. We will take a look and fix it in the next batch of changes.

    Greetings,
    Kamen Bundev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Michael
    Michael avatar
    51 posts
    Member since:
    Dec 2008

    Posted 13 Jul 2010 Link to this post

    Kamen,
    Thanks for the update. In the meantime while your working on adding it to visual style builder, is there anyway to make this work?  Can I go into the created style sheet and add something to allow for keeping the selected menu item? 

    Thanks

    Mike
  6. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 14 Jul 2010 Link to this post

    Hello Michael,

    You can open the resulting skin and if you want the selected state to be the same as the hover state, make sure to add .RadMenu .rmSelected everywhere where .RadMenu a.rmLink:hover is specified (the VSB changes are at the end of the file, easy to be spotted). The selectors should be the same - if you have div in front of .RadMenu, be sure to add it in the other selector as well.

    Sincerely yours,
    Kamen Bundev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017