How to redefine StaticHoverStyle, indicated in skin for some specificcontainer item

A

alexandis

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top