Share via


GridView.ICallbackContainer.GetCallbackScript(IButtonControl, String) 方法

定義

為執行排序作業的按鈕建立回呼指令碼。

 virtual System::String ^ System.Web.UI.WebControls.ICallbackContainer.GetCallbackScript(System::Web::UI::WebControls::IButtonControl ^ buttonControl, System::String ^ argument) = System::Web::UI::WebControls::ICallbackContainer::GetCallbackScript;
string ICallbackContainer.GetCallbackScript (System.Web.UI.WebControls.IButtonControl buttonControl, string argument);
abstract member System.Web.UI.WebControls.ICallbackContainer.GetCallbackScript : System.Web.UI.WebControls.IButtonControl * string -> string
override this.System.Web.UI.WebControls.ICallbackContainer.GetCallbackScript : System.Web.UI.WebControls.IButtonControl * string -> string
Function GetCallbackScript (buttonControl As IButtonControl, argument As String) As String Implements ICallbackContainer.GetCallbackScript

參數

buttonControl
IButtonControl

為其建立回呼指令碼的按鈕控制項。

argument
String

要傳遞至回呼指令碼的引數。

傳回

執行排序作業之按鈕的回呼指令碼。

實作

備註

ICallbackContainer.GetCallbackScript 是控制項用來 GridView 建立執行排序作業之按鈕的回呼腳本的協助程式方法。

適用於

另請參閱