DropDownList::CreateControlCollection Method ()
.NET Framework (current version)
Creates a collection to store child controls.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how to override the CreateControlCollection method in a custom server control so that it always returns a new instance of the EmptyControlCollection class for the DropDownList control. For information about using custom server controls, see Walkthrough: Developing and Using a Custom Web Server Control.
.NET Framework
Available since 1.1
Available since 1.1
Show: