Modifica

Condividi tramite


GridView.IPostBackEventHandler.RaisePostBackEvent(String) Method

Definition

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

 virtual void System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(System::String ^ eventArgument) = System::Web::UI::IPostBackEventHandler::RaisePostBackEvent;
void IPostBackEventHandler.RaisePostBackEvent (string eventArgument);
abstract member System.Web.UI.IPostBackEventHandler.RaisePostBackEvent : string -> unit
override this.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent : string -> unit
Sub RaisePostBackEvent (eventArgument As String) Implements IPostBackEventHandler.RaisePostBackEvent

Parameters

eventArgument
String

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

Implements

Remarks

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.

Note

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

Applies to

See also