GridView.RaisePostBackEvent Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

Protected Overridable Sub RaisePostBackEvent (
	eventArgument As String
)

Parameters

eventArgument
Type: System.String

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

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.

System_CAPS_noteNote

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

.NET Framework
Available since 2.0
Return to top
Show: