When implemented by a class, enables a server control to process an event raised when a form is posted to the server.
- eventArgument
- A string that represents an optional event argument to be passed to the event handler.
The page passes the value of the eventArgument parameter to the RaisePostBackEvent method of the control that implements the System.Web.UI.IPostBackEventHandler interface. This control also renders the HTML element that causes the postback to occur. If the control renders client-side script for postback, the argument from the script is passed in the eventArgument parameter. If the postback is caused by a simple submit operation, the eventArgument parameter is null.
This method provides the functionality for many events implemented by HTML and Web server controls.