Render a partial view from the content page ?

Posted by Sunny.Sagar under ASP.NET MVC category on | Points: 40 | Views : 2219
<hr />
<hr />
@{ Html.RenderPartial("_GetFileName"); }
<hr />
@Html.Partial returns MvcHtmlString that is the output of the Partial view.
It has been called in the code block as @Html.RenderPartial method returns void.

Comments or Responses

Login to post response