I have a View
that has a div
and inside it a partialview
EX:
<div>
@Html.RenderPartial("MeuPartial");
</div>
No page load renders right, however, I needed it rendered every time I clicked a button.
<button class="btn btn-primary" [email protected]("MeuPartial");>Atualizar</button>
onclick
does not accept the method.
How do I render within div
?