Click here to Skip to main content
16,017,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

In my site I'am using following code for menu bar in my master page,
XML
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
                   <Items>
                       <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/>
                       <asp:MenuItem NavigateUrl="~/About.aspx" Text="About"/>
<asp:MenuItem NavigateUrl="#" Text="Contact Us"/>
                   </Items>
               </asp:Menu>

but when I click on home tab then I wan't to change that home tag color when page redirect to contain page .How to do this.
Posted

1 solution

I believe this article explains it well: Menu Control Selected Item Color Change Depending on Selection [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900