System.Web.UI.UserControl: Method Members

The methods of System.Web.UI.UserControl are listed below. For a list of all members, see the UserControl Members list.

See Also: Inherited members from System.Web.UI.TemplateControl

Public Methods

DesignerInitialize()

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

InitializeAsUserControl(Page)

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.

MapPath(string) : string

Assigns a virtual file path, either absolute or relative, to a physical file path.

Protected Methods

override
LoadViewState(object)

Restores the view-state information from a previous user control request that was saved by the UserControl.SaveViewState method.

override
OnInit(EventArgs)

Raises the Control.Init event.

override
SaveViewState() : object

Saves any user control view-state changes that have occurred since the last page postback.