[RESOLVED]render partial view in master page

I need to render a partial view below the main page. The content on the main page should still be retained.

And the partial view should be rendered on a button click. How can this be achieved?


The above link directs you to a brilliant article, that would help you learn the query you have asked. Please go through I am sure, you will get your answer from this.


Hi ,

Try this:

<div id="someDiv">

<script> document.getElementById("buttonId").onclick = function () { myFunction() }; function myFunction() { $("#someDiv").load('@Url.Action("xxx","xxx")'); } </script>

More information:

Partial view render on button click

best way & esieast way to Render partial view ON button click(Jquery)

Hope this can be helpful.

Best Regards,


Leave a Reply