System.Web.UI.Control.AddedControl Method

Called after a child control is added to the Control.Controls collection of the System.Web.UI.Control object.

Syntax

protected virtual void AddedControl (Control control, int index)

Parameters

control
The System.Web.UI.Control that has been added.
index
The index of the control in the Control.Controls collection.

Remarks

The Control.AddedControl(Control, int) method is called immediately after a control is added to the Control.Controls collection.

Requirements

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