in my MVC action I have
return PartialView("partialView", model);
I have this in the parent View:
<div id="myModal" class="modal fade in">
<div id="modalContainer">
</div>
</div>
And the body of the modal in the partial View.
I used this as a template: Using Bootstrap Modal window as PartialView
The modal loads fine with the right data on submit of the page. The problem is that the partial view with the modal covers the entire parent view instead of just showing the modal.
There's essentially the modal with a blank white screen.
My question is how would I only show the modal with data, and prevent the partial view from covering the whole page?
Thanks a million!