RenderPartialExtensions RenderPartialExtensions RenderPartialExtensions Class

Definition

Provides support for rendering a partial view.

public static class RenderPartialExtensions
type RenderPartialExtensions = class
Public Module RenderPartialExtensions
Inheritance
RenderPartialExtensionsRenderPartialExtensionsRenderPartialExtensions

Methods

RenderPartial(HtmlHelper, String) RenderPartial(HtmlHelper, String) RenderPartial(HtmlHelper, String)

Renders the specified partial view by using the specified HTML helper.

RenderPartial(HtmlHelper, String, Object) RenderPartial(HtmlHelper, String, Object) RenderPartial(HtmlHelper, String, Object)

Renders the specified partial view, passing it a copy of the current ViewDataDictionary object, but with the Model property set to the specified model.

RenderPartial(HtmlHelper, String, ViewDataDictionary) RenderPartial(HtmlHelper, String, ViewDataDictionary) RenderPartial(HtmlHelper, String, ViewDataDictionary)

Renders the specified partial view, replacing its ViewData property with the specified ViewDataDictionary object.

RenderPartial(HtmlHelper, String, Object, ViewDataDictionary) RenderPartial(HtmlHelper, String, Object, ViewDataDictionary) RenderPartial(HtmlHelper, String, Object, ViewDataDictionary)

Renders the specified partial view, replacing the partial view's ViewData property with the specified ViewDataDictionary object and setting the Model property of the view data to the specified model.

Applies to