Export (0) Print
Expand All

IPostBackDataHandler.RaisePostDataChangedEvent Method

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

[Visual Basic]
Sub RaisePostDataChangedEvent()
[C#]
void RaisePostDataChangedEvent();
[C++]
void RaisePostDataChangedEvent();
[JScript]
function RaisePostDataChangedEvent();

Remarks

Change events for the server control that implements this interface, if any, are raised from this method.

Example

[Visual Basic, C#, C++] The following example demonstrates how a server control can implement the RaisePostDataChangedEvent method.

[Visual Basic] 
Public Overridable Sub RaisePostDataChangedEvent()
    OnTextChanged(EventArgs.Empty)
End Sub    
   

[C#] 
public virtual void RaisePostDataChangedEvent() {
    OnTextChanged(EventArgs.Empty);
}


[C++] 
public:
 virtual void RaisePostDataChangedEvent() {
     OnTextChanged(EventArgs::Empty);
 }

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

IPostBackDataHandler Interface | IPostBackDataHandler Members | System.Web.UI Namespace | Processing Postback Data

Show:
© 2014 Microsoft