Page.GetPostBackEventReference Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce una stringa che può essere utilizzata in un evento client per causare il postback al server. Questo metodo è stato deprecato. Usare invece il GetPostBackEventReference metodo nella ClientScriptManager classe .
Overload
| Nome | Descrizione |
|---|---|
| GetPostBackEventReference(Control) |
Obsoleti.
Restituisce una stringa che può essere utilizzata in un evento client per causare il postback al server. La stringa di riferimento è definita dall'oggetto specificato Control . |
| GetPostBackEventReference(Control, String) |
Obsoleti.
Restituisce una stringa che può essere utilizzata in un evento client per causare il postback al server. La stringa di riferimento è definita dal controllo specificato che gestisce il postback e un argomento stringa di informazioni aggiuntive sull'evento. |
GetPostBackEventReference(Control)
Attenzione
The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202
Restituisce una stringa che può essere utilizzata in un evento client per causare il postback al server. La stringa di riferimento è definita dall'oggetto specificato 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
Parametri
- control
- Control
Controllo server per elaborare il postback nel server.
Valori restituiti
Stringa che, se considerata come script nel client, avvia il postback.
- Attributi
Commenti
Questo metodo è stato deprecato. Usare invece il GetPostBackEventReference metodo nella ClientScriptManager classe .
Vedi anche
Si applica a
GetPostBackEventReference(Control, String)
Attenzione
The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202
Restituisce una stringa che può essere utilizzata in un evento client per causare il postback al server. La stringa di riferimento è definita dal controllo specificato che gestisce il postback e un argomento stringa di informazioni aggiuntive sull'evento.
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
Parametri
- control
- Control
Controllo server per elaborare il postback.
- argument
- String
Parametro passato al controllo server.
Valori restituiti
Stringa che, se considerata come script nel client, avvia il postback.
- Attributi
Commenti
Questo metodo è stato deprecato. Usare invece il GetPostBackEventReference metodo nella ClientScriptManager classe .