DetailsView.ICallbackContainer.GetCallbackScript メソッド

定義

DetailsView コントロールのコールバック スクリプトを作成します。

 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

コールバック イベントの引数。

返品

DetailsView コントロールのコールバック スクリプト。

実装

注釈

このメソッドは、コールバック スクリプトを生成するために DetailsView コントロールによって呼び出されるヘルパー メソッドです。 DetailsView コントロールがクライアント スクリプトをレンダリングしない場合、または argument パラメーターがnullまたは空の文字列 ("") の場合、このメソッドはnullを返します。

適用対象

こちらもご覧ください