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

The content item to render.

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
string

The view that is rendered to the response.

model
Content

The content item to render.