Twitter bootstrap + asp.net masterpages, how to set navbar item as active when user selects it?

Posted by ase69s on Stack Overflow See other posts from Stack Overflow or by ase69s
Published on 2012-09-10T15:35:44Z Indexed on 2012/09/10 15:38 UTC
Read the original article Hit count: 1338

We are in se same situation as question Make Twitter Bootstrap navbar link active, but in our case we are using ASP.net and MasterPages...

The thing is the navbar is defined at the masterpage and when you click a menuitem you are redirected to the corresponding child page so how would you do to change the navbar active item consecuently without replicating the logic in each child page? (Preferably without session variables and javascript only at master page)

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about twitter-bootstrap