Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebPageBase.RenderPage Method

Renders the content of one page within another page.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public override HelperResult RenderPage(
	string path,
	params Object[] data
)

Parameters

path
Type: System.String
The path of the page to render.
data
Type: System.Object[]
(Optional) An array of data to pass to the page being rendered. In the rendered page, these parameters can be accessed by using the PageData property.

Return Value

Type: System.Web.WebPages.HelperResult
The HTML content to render.
Show:
© 2015 Microsoft