Page.GetPostBackClientEvent(Control, String) Yöntem

Tanım

Dikkat

The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202

Belirtilen denetim için ve belirtilen olay bağımsız değişkenleriyle sunucuya geri göndermek üzere bir istemci olayında kullanılabilecek bir başvuru alır.

public:
 System::String ^ GetPostBackClientEvent(System::Web::UI::Control ^ control, System::String ^ argument);
public string GetPostBackClientEvent(System.Web.UI.Control control, string argument);
[System.Obsolete("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")]
public string GetPostBackClientEvent(System.Web.UI.Control control, string argument);
member this.GetPostBackClientEvent : System.Web.UI.Control * string -> string
[<System.Obsolete("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.GetPostBackClientEvent : System.Web.UI.Control * string -> string
Public Function GetPostBackClientEvent (control As Control, argument As String) As String

Parametreler

control
Control

İstemci olayı geri göndermesini alan sunucu denetimi.

argument
String

String öğesine geçirilen birRaisePostBackEvent(String).

Döndürülenler

İstemci olayını temsil eden dize.

Öznitelikler

Açıklamalar

ClientScriptManager Bu kullanım dışı bırakılan üyeye alternatifler için sınıfına bakın.

Şunlara uygulanır

Ayrıca bkz.