@Html. Partial, @Html. renderpartial
The common denominator of both is to call another view in the view, the difference is that the html.partial has a return value (mvchtmlstring), use a variable to store the return value, or use @ to output directly.
And Html.renderpartial's return value is Void, his internal will automatically help us response output content, so can not be stored with variables, when used to @{html.renderpartial ();} to invoke
@Html. Action, @Html. Renderaction differences
The common denominator between the two is to request another action in the view, the same as above, Html.action has a return value (mvchtmlstring), use a variable to store the return value, or use @ to output directly.
And Html.renderaction's return value is Void, his internal will automatically help us response output content, so can not be stored with variables, when used to @{html.renderpartial ();} to invoke
As for, call these methods when the view inside the Viewstart is to see you Return view (walk viewstart full view, if the viewstart.cshtml has the specified layout property, Then will also execute this layout page) Return Partialview (do not go viewstart, direct access to the partial view), specific can also see here http://www.cnblogs.com/ joeylee/p/3869633.html