MobilePage.AddedControl Method

Called after a control is added to the Controls collection.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

protected override void AddedControl (
	Control control,
	int index
)
protected void AddedControl (
	Control control, 
	int index
)
protected override function AddedControl (
	control : Control, 
	index : int
)
Not applicable.

Parameters

control

The MobileControl that has been added.

index

The index of the control in the Controls collection.

This member overrides the Control.AddedControl method to determine whether the control is a Form or a UserControl before it calls the base method. If the control is a Form or a UserControl object, the Forms property is set to a null reference (Nothing in Visual Basic).

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1
Show: