Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IPostBackEventHandler.RaisePostBackEvent Method
Collapse the table of content
Expand the table of content

GridView.IPostBackEventHandler.RaisePostBackEvent Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

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

private abstract RaisePostBackEvent : 
        eventArgument:string -> unit  
private override RaisePostBackEvent : 
        eventArgument:string -> unit

Parameters

eventArgument
Type: System.String

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

Implements

IPostBackEventHandler.RaisePostBackEvent(String)

The page calls the RaisePostBackEvent method when a postback event occurs to raise 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 event or events that are raised.

NoteNote

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft