UpdatePanel.OnInit(EventArgs) UpdatePanel.OnInit(EventArgs) UpdatePanel.OnInit(EventArgs) UpdatePanel.OnInit(EventArgs) Method

Definition

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

e
EventArgs EventArgs EventArgs EventArgs

An EventArgs object that contains the event data.

Exceptions

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.

Applies to

See also