ScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs) ScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs) ScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs) ScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs) Method

Definición

Provoca el evento ResolveScriptReference para cada referencia de script administrada por el control ScriptManager.Raises the ResolveScriptReference event for each script reference that is managed by the ScriptManager control.

protected:
 virtual void OnResolveScriptReference(System::Web::UI::ScriptReferenceEventArgs ^ e);
protected virtual void OnResolveScriptReference (System.Web.UI.ScriptReferenceEventArgs e);
abstract member OnResolveScriptReference : System.Web.UI.ScriptReferenceEventArgs -> unit
override this.OnResolveScriptReference : System.Web.UI.ScriptReferenceEventArgs -> unit
Protected Overridable Sub OnResolveScriptReference (e As ScriptReferenceEventArgs)

Parámetros

e
ScriptReferenceEventArgs ScriptReferenceEventArgs ScriptReferenceEventArgs ScriptReferenceEventArgs

Objeto que representa el script actual.An object that represents the current script.

Comentarios

Este método es invocado por el OnPreRender controlador de eventos, una vez por cada ScriptReference en el Scripts colección.This method is called by the OnPreRender event handler, one time for each ScriptReference in the Scripts collection.

El ResolveScriptReference evento se desencadena después de que las entradas duplicadas de la secuencia de comandos se han resueltos.The ResolveScriptReference event is raised after duplicate script entries have been resolved.

Invalide este método para afectar al comportamiento de bloques de script individuales en la devolución de datos o durante las actualizaciones parciales de página.Override this method to affect the behaviors of individual script blocks on postback or during partial-page updates.

Se aplica a