MasterPage.InstantiateInContentPlaceHolder Method (Control, ITemplate)

.NET Framework (current version)
 

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
Available since 4.0
Return to top
Show: