ChangePassword.OnInit(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- OnBubbleEvent(Object, EventArgs)
- Init
- Server Event Handling in ASP.NET Web Pages
- ASP.NET Login Controls Overview
- Customizing Appearance and Behavior of the ASP.NET Login Controls
- ASP.NET Web Server Controls Templates
- How to: Display Different Information to Anonymous and Logged In Users
- Web Site Administration Tool Security Tab