UpdatePanel.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.
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
Exceptions
The ContentTemplate property is being defined when the ContentTemplateContainer property has already been created.
Remarks
The UpdatePanel control's ContentTemplate property is instantiated during the OnInit method.
The OnInit method is used by control developers to extend the functionality of the UpdatePanel control.
Notes to Inheritors
When you override the OnInit(EventArgs) method in a derived class, be sure to call the OnInit(EventArgs) method of the base class so that registered delegates can receive the event.