Επεξεργασία

Κοινή χρήση μέσω


Repeater.OnLoad(EventArgs) Method

Definition

Raises the Load event and performs other initialization.

protected public:
 override void OnLoad(EventArgs ^ e);
protected internal override void OnLoad (EventArgs e);
override this.OnLoad : EventArgs -> unit
Protected Friend Overrides Sub OnLoad (e As EventArgs)

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

See also