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

定义

DetailsView 控件创建回调脚本。Creates the callback script for the DetailsView control.

 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);
Function GetCallbackScript (buttonControl As IButtonControl, argument As String) As String Implements ICallbackContainer.GetCallbackScript

参数

buttonControl
IButtonControl

将页回发给服务器的按钮控件。The button control that posted the page back to the server.

argument
String

回调事件的参数。The argument for the callback event.

返回

DetailsView 控件的回调脚本。The callback script for the DetailsView control.

实现

注解

此方法是一个帮助器方法, 该方法由DetailsView控件调用以生成其回调脚本。This method is a helper method that is called by the DetailsView control to generate its callback script. 如果控件不呈现客户端脚本, 或者argument参数为null或空字符串 (""), 则此方法返回nullDetailsViewIf the DetailsView control does not render client script, or if the argument parameter is null or an empty string (""), this method returns null.

适用于

另请参阅