WebPageBase.RenderPage(String, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.