System.Web.UI.Control.OnLoad Method

Raises the Control.Load event.

Syntax

protected virtual void OnLoad (EventArgs e)

Parameters

e
The EventArgs object that contains the event data.

Remarks

ASP.NET calls this method to raise the Control.Load event. If you are developing a custom control, you can override this method in order to provide additional processing. If you override this method, call the base control's Control.OnLoad(EventArgs) method to notify subscribers to the event.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0