ListBox.IPostBackDataHandler.RaisePostDataChangedEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈