WebPageBase.RenderPage(String, Object[]) Method

Definition

Renders the content of one page within another page.

public override System.Web.WebPages.HelperResult RenderPage (string path, params object[] data);
override this.RenderPage : string * obj[] -> System.Web.WebPages.HelperResult
Public Overrides Function RenderPage (path As String, ParamArray data As Object()) As HelperResult

Parameters

path
String

The path of the page to render.

data
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.

Returns

The HTML content to render.

Applies to