I have a partial view and I have a list of Categories but I want to use the jqWidget menu, I have make the references
<link rel="stylesheet" href="../../Content/jqwidgets/styles/jqx.base.css" type="text/css" />
<link rel="stylesheet" href="../../Content/jqwidgets/styles/jqx.base.css" type="text/css"/>
<script type="text/javascript" src="../../Scripts/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../../Content/scripts/gettheme.js"></script>
<script type="text/javascript" src="../../Content/jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../../Content/jqwidgets/jqxmenu.js"></script>
<script type="text/javascript" src="../../Content/jqwidgets/jqxcheckbox.js"></script>
<link rel="stylesheet" href="../../Content/jqwidgets/styles/jqx.fresh.css" type="text/css" />
But they just show like normal li tags, I am using MVC 4, here is the rest of the code:
<body>
<div id='content'>
<script type="text/javascript">
$(document).ready(function () {
$("#Menu").jqxMenu({ mode: 'vertical', theme: 'fresh' });
$("#Menu").css('visibility', 'visible');
});
</script>
<div id='Menu'>
<div >
<ul>
@foreach (var category in Model)
{
<li>
<a>@Html.ActionLink(category.Name, "Browse", "Store", new { Category = category.Name }, null)</a>
</li>
}
</ul>
</div>
</div>
</div>
</body>