Uređivanje

Dijeli putem


DetailsView.OnItemUpdated(DetailsViewUpdatedEventArgs) Method

Definition

Raises the ItemUpdated event.

protected:
 virtual void OnItemUpdated(System::Web::UI::WebControls::DetailsViewUpdatedEventArgs ^ e);
protected virtual void OnItemUpdated (System.Web.UI.WebControls.DetailsViewUpdatedEventArgs e);
abstract member OnItemUpdated : System.Web.UI.WebControls.DetailsViewUpdatedEventArgs -> unit
override this.OnItemUpdated : System.Web.UI.WebControls.DetailsViewUpdatedEventArgs -> unit
Protected Overridable Sub OnItemUpdated (e As DetailsViewUpdatedEventArgs)

Parameters

e
DetailsViewUpdatedEventArgs

A DetailsViewUpdatedEventArgs that contains the event data.

Remarks

The OnItemUpdated method is called by the DetailsView control to raise the ItemUpdated event. It is generally used by control developers when extending the DetailsView class.

The OnItemUpdated 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.

Notes to Inheritors

When overriding OnItemUpdated(DetailsViewUpdatedEventArgs) in a derived class, be sure to call the base class's OnItemUpdated(DetailsViewUpdatedEventArgs) method so that registered delegates receive the event.

Applies to

See also