Page.RegisterOnSubmitStatement(String, String) 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.
Attenzione
The recommended alternative is ClientScript.RegisterOnSubmitStatement(Type type, string key, string script). http://go.microsoft.com/fwlink/?linkid=14202
Consente a una pagina di accedere all'evento client OnSubmit . Lo script deve essere una chiamata di funzione al codice client registrato altrove.
public:
void RegisterOnSubmitStatement(System::String ^ key, System::String ^ script);
public void RegisterOnSubmitStatement(string key, string script);
[System.Obsolete("The recommended alternative is ClientScript.RegisterOnSubmitStatement(Type type, string key, string script). http://go.microsoft.com/fwlink/?linkid=14202")]
public void RegisterOnSubmitStatement(string key, string script);
member this.RegisterOnSubmitStatement : string * string -> unit
[<System.Obsolete("The recommended alternative is ClientScript.RegisterOnSubmitStatement(Type type, string key, string script). http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.RegisterOnSubmitStatement : string * string -> unit
Public Sub RegisterOnSubmitStatement (key As String, script As String)
Parametri
- key
- String
Chiave univoca che identifica un blocco di script.
- script
- String
Script sul lato client da inviare al client.
- Attributi
Commenti
Il RegisterOnSubmitStatement metodo è stato deprecato. Usare il RegisterOnSubmitStatement metodo nella ClientScriptManager classe .