How to redefine StaticHoverStyle, indicated in skin for some specific

I do not want to apply hover style for selected item. I need something
like
<StaticItemTemplate>
<% if (((MenuItem)Container.DataItem).Selected == false) { %>
// ignore StaticHoverStyle for this item
<% } %>
</StaticItemTemplate>


My skin file contains the following:
<asp:menu .... >
<StaticHoverStyle ForeColor="#636363" />
</asp:menu>

I DO not want to indicate some other value in <StaticItemTemplate>,
all style should be defined in skin file! I just need to SKIP some
style settings...
alexandis [ Do, 31 Januar 2008 20:39 ] [ ID #1920759 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » How to redefine StaticHoverStyle, indicated in skin for some specific

Vorheriges Thema: Forcing ASP.NET 1.1 isn't working
Nächstes Thema: question about MembershipUser.ProviderUserKey