Page.GetPostBackEventReference メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
サーバーへのポストバックを発生させるためにクライアント イベントで使用できる文字列を返します。 このメソッドは非推奨になりました。 代わりに、ClientScriptManager クラスで GetPostBackEventReference メソッドを使用します。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetPostBackEventReference(Control) |
古い.
サーバーへのポストバックを発生させるためにクライアント イベントで使用できる文字列を返します。 参照文字列は、指定した Control オブジェクトによって定義されます。 |
| GetPostBackEventReference(Control, String) |
古い.
サーバーへのポストバックを発生させるためにクライアント イベントで使用できる文字列を返します。 参照文字列は、ポストバックと追加のイベント情報の文字列引数を処理する指定されたコントロールによって定義されます。 |
GetPostBackEventReference(Control)
注意事項
The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202
サーバーへのポストバックを発生させるためにクライアント イベントで使用できる文字列を返します。 参照文字列は、指定した Control オブジェクトによって定義されます。
public:
System::String ^ GetPostBackEventReference(System::Web::UI::Control ^ control);
public string GetPostBackEventReference(System.Web.UI.Control control);
[System.Obsolete("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")]
public string GetPostBackEventReference(System.Web.UI.Control control);
member this.GetPostBackEventReference : System.Web.UI.Control -> string
[<System.Obsolete("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.GetPostBackEventReference : System.Web.UI.Control -> string
Public Function GetPostBackEventReference (control As Control) As String
パラメーター
- control
- Control
サーバー上のポストバックを処理するサーバー コントロール。
返品
クライアントでスクリプトとして扱われると、ポストバックを開始する文字列。
- 属性
注釈
このメソッドは非推奨になりました。 代わりに、ClientScriptManager クラスで GetPostBackEventReference メソッドを使用します。
こちらもご覧ください
適用対象
GetPostBackEventReference(Control, String)
注意事項
The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202
サーバーへのポストバックを発生させるためにクライアント イベントで使用できる文字列を返します。 参照文字列は、ポストバックと追加のイベント情報の文字列引数を処理する指定されたコントロールによって定義されます。
public:
System::String ^ GetPostBackEventReference(System::Web::UI::Control ^ control, System::String ^ argument);
public string GetPostBackEventReference(System.Web.UI.Control control, string argument);
[System.Obsolete("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")]
public string GetPostBackEventReference(System.Web.UI.Control control, string argument);
member this.GetPostBackEventReference : System.Web.UI.Control * string -> string
[<System.Obsolete("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.GetPostBackEventReference : System.Web.UI.Control * string -> string
Public Function GetPostBackEventReference (control As Control, argument As String) As String
パラメーター
- control
- Control
ポストバックを処理するサーバー コントロール。
- argument
- String
サーバー コントロールに渡されるパラメーター。
返品
クライアントでスクリプトとして扱われると、ポストバックを開始する文字列。
- 属性
注釈
このメソッドは非推奨になりました。 代わりに、ClientScriptManager クラスで GetPostBackEventReference メソッドを使用します。