語言

GridView.IPostBackEventHandler.RaisePostBackEvent(String) 方法

定義

當控制件回傳到伺服器時,會觸發相應的事件 GridView 。

 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

參數

eventArgument
String

事件論證用以建立事件的 a CommandEventArgs ,針對所引發的事件。

實作

備註

當發生回貼事件時,頁面會呼叫該 RaisePostBackEvent 方法來提出適當的控制事件 GridView 。 此呼叫發生在頁面生命週期中,載入與變更通知完成後,但預渲染尚未完成之前。 此方法已被實作用於為所提出的事件建立 CommandEventArgs 物件。

Note

此方法主要由控制開發者使用來擴展控制範圍 GridView 。

適用於

另請參閱