Hi,
I have a .aspx page where i copied 1 navigation bar. On it i put some link buttons. They are navigating. But when I click it's class should become Active <li class="active">Home</li>. If i click on register link button then register's class should become active.
Thanks
So give runat = "server" and Id to your Li and then you can do
liHome.Attributes["class"] = "active";
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.