Can you expand on the property in the master page I have a master page that contains:
<div id="mainmenu">
<ul>
<li><a
href="<%=Page.ResolveUrl("~/default.aspx")%>" id="tab_Home"
class="selected">Home</a></li>
<li><a
href="http://forums.asp.net/AddPost.aspx?PostID=1388327#"
id="tab_Services">Services</a></li>
<li><a
href="http://forums.asp.net/AddPost.aspx?PostID=1388327#"
id="tab_Contact">Contact</a></li>
<li><a
href="<%=Page.ResolveUrl("~/About.aspx")%>"
id="tab_About">About</a></li>
<li><a
href="<%=Page.ResolveUrl("~/AboutSelected.aspx")%>"
id="tab_AboutSelected"
class="selected">AboutSelected</a></li>
<%if(Page.User.IsInRole("Administrator")){ %>
<li><a
href="<%=Page.ResolveUrl("~/admin") %>"
id="tab_Admin">Admin</a></li>
<%} %>
</ul>
</div>
The tab_Home is set for class="selected" (the
default page) and when another tab is clicked I would like to know how
to set the Master Page "class" for the tab_Home to
not-selected??? and then set the appropriate tab to
"selected"
Something like Master.mainmenu.tab_Home.selected="" and then
Master.mainmenu.tab_About.selected="selected" in the
Page_Load of the About page...
This will (I hope) move the Highlight from the tab_Home tab to the tab_About tab...
Can you please tell me how to do this in C#
Thanks,
Paul