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
If you are using an overload of the Html.Partial() where viewData is one of the input parameters, for example:
@Html.Partial("PartialViewName", Model, new ViewDataDictionary(ViewBag))
then your partial view will not see data from your original ViewBag.
Remove new ViewDataDictionary(ViewBag), so you should write
@Html.Partial("PartialViewName", Model)