ASP.NET MVC中Html.RenderPartial("")とHtml.Partial(")の違い
499 ワード
HtmlHelper Partial, HtmlHelper RenderPartial ,
Partial ,RenderPartial HttpContext。 :
MVC2:
<%Html.RenderPartial("PartialView");%> HttpContext
<%=Html.Partial("PartialView")%> string
MVC3:
@Html.Partial("BasicChart")
@{
Html.RenderPartial("BasicChart");
}
エディタのロード中...