System.Web.UI.Page.OnLoadComplete Method

Raises the Page.LoadComplete event at the end of the page load stage.

Syntax

protected virtual void OnLoadComplete (EventArgs e)

Parameters

e
An EventArgs that contains the event data.

Remarks

The Page.OnLoadComplete(EventArgs) method is called at the end of the page load stage. At this point in the page life cycle, all postback data and view-state data is loaded into controls on the page.

Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

The Page.OnLoadComplete(EventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Requirements

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