Export (0) Print
Expand All

MasterPage.InstantiateInContentPlaceHolder Method

Provides a method to set the current template control to a page that owns the master page.

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

public void InstantiateInContentPlaceHolder(
	Control contentPlaceHolder,
	ITemplate template
)

Parameters

contentPlaceHolder
Type: System.Web.UI.Control

The control that represents the container of the content.

template
Type: System.Web.UI.ITemplate

The Content instance to use.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft