Im having a value in ViewData, lets say htmlhelper.ViewData[“myData”]=”some”;
And in partial page I can overwrite the myData’s value.
But when I using the Html.RenderAction() and call a partial page.
In the same partial page htmlhelper.ViewData[“myData”] is null.
I figured out from MVC source code. Cool that we have MVC as open source.
this will maintain the value from Partial and RenderAction case.