Επεξεργασία

Κοινή χρήση μέσω


ScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs) Method

Definition

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)

Parameters

e
ScriptReferenceEventArgs

An object that represents the current script.

Remarks

This method is called by the OnPreRender event handler, one time for each ScriptReference in the Scripts collection.

The ResolveScriptReference event is raised after duplicate script entries have been resolved.

Override this method to affect the behaviors of individual script blocks on postback or during partial-page updates.

Applies to