System.Web.UI.TemplateBuilder.InstantiateIn Method

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

Syntax

public virtual void InstantiateIn (Control container)

Parameters

container
The System.Web.UI.Control to contain the instances of controls from the inline template.

Remarks

The TemplateBuilder.InstantiateIn(Control) method is required when implementing the System.Web.UI.ITemplate interface. The TemplateBuilder.InstantiateIn(Control) method is used only in design time.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0