Showing posts with label Html.RenderAction. Show all posts
Showing posts with label Html.RenderAction. Show all posts

Sunday, April 10, 2016

Html.RenderAction Vs Html.Action

Both Html.RenderAction and Html.Action can be used to call an Action method and render output of the action method as embedded content in the main view, they can be used to display content in a part of the main view page like user controls.

In this post we shall see the difference between these and the scenarios where to use each of these.