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 为执行排序操作的按钮创建回调脚本的帮助程序方法。

适用于

另请参阅