I have a controller calling a view. In the view there is a PartialView
called be @Html.Partial(\"ViewName\", model).
This works fine.
But i
I was having this same problem with a very basic page:
@Html.Partial("_AppIntro")
And the partial view contained only text with some references to ViewBag to fetch some dynamic values passed from the controller. It turned out that the name of the partial view mattered. Removing the partial page and recreating it with Add -> View -> MVC 5 View but naming the page _AppIntro.cshtml fixed it.