ControlCollection.RemoveAt Method
.NET Framework 2.0
Removes a child control, at the specified index location, from the ControlCollection object.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The following code example uses the RemoveAt method to delete a child control from the myButton server control. The method call first specifies an index location of 1 from which the control is deleted. The example then writes to the containing page a text message saying that the control at that location has been deleted from the ControlCollection collection.
Community Additions
ADD
Show: