System.Web.UI.WebControls.GridView.RaisePostBackEvent Method

Raises the appropriate events for the System.Web.UI.WebControls.GridView control when it posts back to the server.

Syntax

protected virtual void RaisePostBackEvent (string eventArgument)

Parameters

eventArgument
The event argument from which to create a System.Web.UI.WebControls.CommandEventArgs for the event or events that are raised.

Remarks

The page calls the System.Web.UI.Page.RaisePostBackEvent(System.Web.UI.IPostBackEventHandler, string) method when a postback event occurs that raises the appropriate events for a System.Web.UI.WebControls.GridView control. This call occurs in the page life cycle after loading and change notification are complete, but before prerendering occurs. This method has been implemented to create a System.Web.UI.WebControls.CommandEventArgs object for the events that are raised.

Note:

This method is used primarily by control developers to extend the System.Web.UI.WebControls.GridView control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0