I want to change the ActionLink
and URL
to work with Ajax
, but I do not know how to do that. Follow my code with ActionLink
and URL
.
<ul class="nav" id="side-menu">
<li>
<a href="#"><i class="fa fa-shopping-cart fa-fw"></i> Pedidos<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
@Html.ActionLink("Ver Pedidos", "Index", "Pedido")
</li>
<li>
@Html.ActionLink("Status Pedidos", "Status", "Pedido")
</li>
</ul>
</li>
<li>
<a href="@Url.Action("Index","Cliente")"><i class="fa fa-users fa-fw"></i> Clientes</a>
</li>
<li>
<a href="@Url.Action("Index","Carrossel")"><i class="fa fa-picture-o fa-fw"></i> Carrossel</a>
</li>
<li>
<a href="@Url.Action("Index", "Carta")"><i class="fa fa-envelope fa-fw"></i> Cartas</a>
</li>
<li>
<a href="@Url.Action("Index","Usuario")"><i class="fa fa-user fa-fw"></i> Usuários</a>
</li>
<li>
<a href="@Url.Action("Logout")"><i class="fa fa-power-off fa-fw"></i> Logout</a>
</li>
</ul>
<div id="conteudo"></div>