BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<style type="text/css"> .e-menu.e-horizontal .visited>.e-menulink{ background-color:red; } </style> <body> <script type="text/javascript"> function CssChange(args) { this.element.find("li.e-active").addClass('visited'); } </script> </body> |
<style type="text/css"> .WhiteTheme .e-menu.e-horizontal .e-list>ul .e-menulink{ color:white; } </style> |
Hello,
Thank you for your answer - regret the late response. We're not sure how you mean we should use the click event - we have tried using code both on the client and server side, but nothing seems to work. We've also tried the suggestion you have regarding CssChange(args)... - but that event never fires at all.
We hope for clarification. Thanks in advance.
Best regards
<ej:Menu ID="JobSearch" runat="server" OpenOnClick="true" ClientSideOnClick="CssChange" SubMenuDirection="left" CssClass="WhiteTheme">
<Items>
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
</Items>
</ej:Menu>
<script type="text/javascript">
function CssChange(args) {
this.element.find("li.e-active").addClass('visited');
}
</script>
<style type="text/css">
.e-menu.e-horizontal .visited>.e-menulink{
background-color:red;
}
</style> |
Hi,
Thanks for your answer. I have tried following your model, and used your example as-is; however, the menu doesn't get the red background color at any point - and everything falls back to the default "non-selected" state after click.
Best regards.