GridView.ICallbackContainer.GetCallbackScript(IButtonControl, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立按鈕的回調腳本,執行排序操作。
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 來建立按鈕回調腳本的輔助方法,該腳本執行排序操作。