ChangePassword.OnInit(EventArgs) Method

Definition

Raises the Init event for the ChangePassword control to allow the control to register itself with the page.

protected public:
 override void OnInit(EventArgs ^ e);
protected internal override void OnInit (EventArgs e);
override this.OnInit : EventArgs -> unit
Protected Friend Overrides Sub OnInit (e As EventArgs)

Parameters

e
EventArgs

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 OnInit method, regardless of whether it is a child or parent to the ChangePassword control. Other Web server controls are not certain to be created and ready for access.

Applies to

See also