GridView.RaisePostBackEvent(String) Method

Definition

Raises the appropriate events for the GridView control when it posts back to the server.

C#
protected virtual void RaisePostBackEvent(string eventArgument);

Parameters

eventArgument
String

The event argument from which to create a CommandEventArgs for the event or events that are raised.

Remarks

The page calls the RaisePostBackEvent method when a postback event occurs that raises the appropriate events for a 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 CommandEventArgs object for the events that are raised.

Note

This method is used primarily by control developers to extend the GridView control.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also