System.Web.UI.WebControls.ChangePassword.OnInit Method

Raises the System.Web.UI.Control.Init event for the System.Web.UI.WebControls.ChangePassword control to allow the control to register itself with the page.

Syntax

protected override void OnInit (EventArgs e)

Parameters

e
An EventArgs object containing the event data.

Remarks

Web server controls should perform any initialization steps that are required to create and set up an instance. You cannot use view state information within this event; it is not populated yet. You should not access another Web server control during the ChangePassword.OnInit(EventArgs) method, regardless of whether it is a child or parent to the System.Web.UI.WebControls.ChangePassword control. Other Web server controls are not certain to be created and ready for access.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0