UserControl.DesignerInitialize Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Performs any initialization steps on the user control that are required by RAD designers.

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

public void DesignerInitialize()

The following example calls the DesignerInitialize method during the Page_Init stage of request processing. This makes the user control available to a RAD designer such as Visual Studio 2005.

// Initialize the UserControl object that has been created declaratively. 

.NET Framework
Available since 1.1
Return to top