<%:Styles.Render("~/Content/bootstrap.min.css") %>
<%:Styles.Render("~/Content/Site.css") %>
<%:Styles.Render("~/Content/ej/web/default-theme/ej.web.all.min.css") %>
<!--[if lt IE 9]>
<%: Scripts.Render("~/Scripts/jquery-1.11.3.min.js")%>
<![endif]-->
<!--[if gte IE 9]><!-->
<%: Scripts.Render("~/Scripts/jquery-3.1.1.min.js")%>
<!--<![endif]-->
<%: Scripts.Render("~/Scripts/pivotgrid.datasource.js")%>
<%: Scripts.Render("~/Scripts/jsrender.min.js")%>
<%: Scripts.Render("~/Scripts/ej/ej.web.all.min.js")%>
<%: Scripts.Render("~/Scripts/ej/ej.webform.min.js")%>
<%: Scripts.Render("~/Scripts/jsondatachart.js")%>
<%: Scripts.Render("~/Scripts/sampleslist.js")%>
<%: Scripts.Render("~/Scripts/properties.js")%> |
<form runat="server">
<asp:ScriptManager runat="server">
</asp:ScriptManager>
. . . . . . . . . . . . . . . . . . . . . . .
</form> |
Thanks;
Is there a way to hide a menu item programmatic ally. For example, I would like to show/hide some menu items based on users role.
Secondly, how can I change the color or dropdown icon. see following screen.
. . . . . .
<Items>
<ej:MenuItem Id="Home" Text="Home"></ej:MenuItem>
. . . . . . . |
Home.HtmlAttributes = "class=e-hidden-item"; |
<style>
.e-menu .e-list>a .e-icon, .e-menu .e-list>span>.e-icon {
color: #f00;
}
</style> |