Redigera

Dela via


IPostBackDataHandler.RaisePostDataChangedEvent Method

Definition

When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control has changed.

public:
 void RaisePostDataChangedEvent();
public void RaisePostDataChangedEvent ();
abstract member RaisePostDataChangedEvent : unit -> unit
Public Sub RaisePostDataChangedEvent ()

Examples

The following code example demonstrates how a server control can implement the RaisePostDataChangedEvent method.

public virtual void RaisePostDataChangedEvent() {
    OnTextChanged(EventArgs.Empty);
}
Public Overridable Sub RaisePostDataChangedEvent()
    OnTextChanged(EventArgs.Empty)
End Sub

Remarks

The RaisePostDataChangedEvent method raises any change events for the server control that implements the IPostBackDataHandler interface.

Applies to

See also