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 來建立按鈕回調腳本的輔助方法,該腳本執行排序操作。

適用於

另請參閱