TemplateBuilder.InstantiateIn Method (Control)

 

Defines the Control object that child controls and templates belong to in design time.

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

public virtual void InstantiateIn(
	Control container
)

Parameters

container
Type: System.Web.UI.Control

The Control to contain the instances of controls from the inline template.

The InstantiateIn method is required when implementing the ITemplate interface. The InstantiateIn method is used only in design time.

.NET Framework
Available since 1.1
Return to top
Show: