Editar

Compartir a través de


ListBox.IPostBackDataHandler.RaisePostDataChangedEvent Method

Definition

Invokes the OnSelectedIndexChanged(EventArgs) method whenever posted data for the ListBox control has changed.

 virtual void System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() = System::Web::UI::IPostBackDataHandler::RaisePostDataChangedEvent;
void IPostBackDataHandler.RaisePostDataChangedEvent ();
abstract member System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent : unit -> unit
override this.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent : unit -> unit
Sub RaisePostDataChangedEvent () Implements IPostBackDataHandler.RaisePostDataChangedEvent

Implements

Remarks

Typically, you should use the ListBox.RaisePostDataChangedEvent method to raise an event when the posted data for a ListBox object changes.

The IPostBackDataHandler.LoadPostData method is an explicit interface member implementation. It can be used only when the ListBox instance is cast to an IPostBackDataHandler interface.

Notes to Inheritors

To define a custom implementation for raising the event for a ListBox object, override the RaisePostDataChangedEvent() member. The explicit interface implementation calls the RaisePostDataChangedEvent() method to raise the event when posted data has changed for the control.

Applies to

See also