System.Web.UI.Page.RaisePostBackEvent Method

Notifies the server control that caused the postback that it should handle an incoming postback event.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected virtual void RaisePostBackEvent (IPostBackEventHandler sourceControl, string eventArgument)

Parameters

sourceControl
The ASP.NET server control that caused the postback. This control must implement the System.Web.UI.IPostBackEventHandler interface.
eventArgument
The postback argument.

Remarks

The System.Web.UI.Page object calls the Page.RaisePostBackEvent(IPostBackEventHandler, string) method when a postback occurs. This call occurs in the page life cycle after loading and change notification are complete but before prerendering occurs.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0