WebControl.Close Method
From Real Software Documentation
Method
| This method is only available for Web applications. |
WebControl.Close ( )
For controls created at runtime as part of a control array, causes the control to be removed from the page, control array, and then destroyed.
Notes
For controls created at design-time, even as part of a control array, this method does nothing. A warning is displayed in the Messages window when this method is called inappropriately.
