<asp:Menu/> and Selected Item question

Discussion in 'ASP .Net' started by Piotr Strycharz, Jan 31, 2007.

  1. Hi,

    I have a problem with Menu control. It seems that selected style properties
    (like 'StaticSelectedStyle' or 'LevelSelectedStyles / asp:MenuItemStyle'
    apply only to the leaf. So there is no way to have all the path "selected".

    Let me explain. I have menu like:
    - Home
    -- Music
    --- Rock
    --- Jazz
    -- Film
    etc..
    If I select "Rock" only that node gets highlighted. What I want is to have
    "Home", "Music" and "Rock" nodes highlighted - all the nodes on the path.

    Is there a way to achieve it?

    Regards.
     
    Piotr Strycharz, Jan 31, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eirik Eldorsen
    Replies:
    0
    Views:
    3,327
    Eirik Eldorsen
    Jul 28, 2006
  2. Iain
    Replies:
    3
    Views:
    938
  3. Replies:
    0
    Views:
    1,447
  4. RJN
    Replies:
    0
    Views:
    2,120
  5. mldardy
    Replies:
    0
    Views:
    969
    mldardy
    Sep 28, 2010
Loading...

Share This Page