Repeater.OnLoad(EventArgs) Method

Definition

Raises the Load event and performs other initialization.

C#
protected internal override void OnLoad(EventArgs e);

Parameters

e
EventArgs

The RepeaterItemEventArgs object that contains the event data.

Remarks

The OnLoad method notifies the Repeater control that it should perform actions that are common to each HTTP request for the page that it is associated with, such as setting up a database query. At this stage in the page life cycle, server controls in the hierarchy are created and initialized, view state is restored, and form controls reflect client-side data.

Applies to

Produkt Verzie
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also