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

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

戻り値

String

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

実装

注釈

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

適用対象

こちらもご覧ください