UserControl Constructor ()

 

Initializes a new instance of the UserControl class.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public UserControl()

You do not typically create an instance of the UserControl class. To create your own user control, inherit from the UserControl class.

To create a new user control on an ASP.NET page programmatically, use the LoadControl method.

.NET Framework
Available since 1.1
Return to top
Show: