IPostBackEventHandler Interface

 

Defines the method ASP.NET server controls must implement to handle postback events.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

type IPostBackEventHandler = interface end

NameDescription
System_CAPS_pubmethodRaisePostBackEvent(String)

When implemented by a class, enables a server control to process an event raised when a form is posted to the server.

To create a server control that captures form submission information from the browser, you must implement this interface. For more information on how to use this interface, see Server Event Handling in ASP.NET Web Forms Pages.

The following code example defines a custom button server control that causes postback, captures the postback event using the RaisePostBackEvent method, and raises a Click event on the server.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: