System.Web.UI.ITemplate.InstantiateIn Method

When implemented by a class, defines the System.Web.UI.Control object that child controls and templates belong to. These child controls are in turn defined within an inline template.

Syntax

public void InstantiateIn (Control container)

Parameters

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

Remarks

When developing templated server controls, you do not need to implement this method; the .NET Framework provides the implementation for you.

Requirements

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