CompiledTemplateBuilder.InstantiateIn Method (Control)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Populates the Control object with the child controls contained in the template.

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

public void InstantiateIn(
	Control container
)

Parameters

container
Type: System.Web.UI.Control

A Control that represents the container used to store the child controls in the template.

The InstantiateIn method is the TemplateBuilder class's implementation of the ITemplate.InstantiateIn method. It is used by ASP.NET to create the control hierarchy of the template and is not meant to be used directly in your code.

.NET Framework
Available since 1.1
Return to top
Show: