How to set navbar item as active when user selects it?

后端 未结 9 1289
耶瑟儿~
耶瑟儿~ 2021-02-05 18:45

I am a new ASP.NET Web Forms developer and trying to use Twitter Bootstrap with the Master Page. I am struggling with setting navbar item as active when user selects it. I creat

9条回答
  •  一整个雨季
    2021-02-05 19:17

    If you are using navigation bar with dropdown-menu then put below script at end of your master page(before body closing tag):

    
    

    This completely worked for me.

提交回复
热议问题