Page.GetPostBackClientEvent(Control, String) Metodo

Definizione

Attenzione

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

Ottiene un riferimento che può essere usato in un evento client per eseguire il postback al server per il controllo specificato e con gli argomenti dell'evento indicati.

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

Parametri

control
Control

Controllo server che riceve il postback dell'evento client.

argument
String

Oggetto String passato a RaisePostBackEvent(String).

Restituisce

String

Stringa che rappresenta l'evento client.

Attributi

Commenti

Vedere la ClientScriptManager classe per le alternative a questo membro deprecato.

Si applica a

Vedi anche