summaryM:DotNetNuke.Web.Mvc.Helpers.HtmlRenderPartialExtensions.RenderPartial(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Web.Mvc.ViewDataDictionary)

Namespace: DotNetNuke.Web.Mvc.Helpers
Assembly: DotNetNuke.Web.Mvc (in DotNetNuke.Web.Mvc.dll)

Syntax

C#
public static void RenderPartial(
	this DnnHtmlHelper html,
	string partialViewName,
	ViewDataDictionary viewData
)
Visual Basic
<ExtensionAttribute> 
Public Shared Sub RenderPartial ( 
	html As DnnHtmlHelper,
	partialViewName As String,
	viewData As ViewDataDictionary
)

Parameters

html
Type: DotNetNuke.Web.Mvc.Helpers..::..DnnHtmlHelper
paramhtmlM:DotNetNuke.Web.Mvc.Helpers.HtmlRenderPartialExtensions.RenderPartial(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Web.Mvc.ViewDataDictionary)
partialViewName
Type: System..::..String
parampartialViewNameM:DotNetNuke.Web.Mvc.Helpers.HtmlRenderPartialExtensions.RenderPartial(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Web.Mvc.ViewDataDictionary)
viewData
Type: ViewDataDictionary
paramviewDataM:DotNetNuke.Web.Mvc.Helpers.HtmlRenderPartialExtensions.RenderPartial(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Web.Mvc.ViewDataDictionary)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DnnHtmlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see [b8020aae-374d-46a9-bcb7-8cc2390b93b6] or [175ce3ff-9bbf-4e64-8421-faeb81a0bb51].

See Also