System.Web.UI.UserControl.InitializeAsUserControl Method

Initializes the System.Web.UI.UserControl object that has been created declaratively. Since there are some differences between pages and user controls, this method makes sure that the user control is initialized properly.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public void InitializeAsUserControl (Page page)

Parameters

page
The System.Web.UI.Page object that contains the user control.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0