HtmlHelperExtensions.RenderPartial Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

Overloads

RenderPartial(HtmlHelper, Content) Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.
RenderPartial(HtmlHelper, Content, Layout) Renders a partial view for the the specified content item and layout.
RenderPartial(HtmlHelper, ContentSearchResult) Renders a partial view for the specified search result.
RenderPartial(HtmlHelper, String, Content) Creates a System.Web.Mvc.PartialViewResult object that renders a view, by using the specified model.

RenderPartial(HtmlHelper, Content)

Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.

public static void RenderPartial(this HtmlHelper html, Content model)

Parameters

html
System.Web.Mvc.HtmlHelper
model
Content

RenderPartial(HtmlHelper, Content, Layout)

Renders a partial view for the the specified content item and layout.

public static void RenderPartial(this HtmlHelper html, Content content, Layout layout)

Parameters

html
System.Web.Mvc.HtmlHelper
content
Content
layout
Layout

RenderPartial(HtmlHelper, ContentSearchResult)

Renders a partial view for the specified search result.

public static void RenderPartial(this HtmlHelper html, ContentSearchResult result)

Parameters

html
System.Web.Mvc.HtmlHelper

RenderPartial(HtmlHelper, String, Content)

Creates a System.Web.Mvc.PartialViewResult object that renders a view, by using the specified model.

public static void RenderPartial(this HtmlHelper html, string viewName, Content model)

Parameters

html
System.Web.Mvc.HtmlHelper
viewName
System.String
model
Content