OnResolveScriptReference Method

ScriptManager.OnResolveScriptReference Method (ScriptReferenceEventArgs)


Raises the ResolveScriptReference event for each script reference that is managed by the ScriptManager control.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

abstract OnResolveScriptReference : 
        e:ScriptReferenceEventArgs -> unit
override OnResolveScriptReference : 
        e:ScriptReferenceEventArgs -> unit


Type: System.Web.UI.ScriptReferenceEventArgs

An object that represents the current script.

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.

.NET Framework
Available since 3.5
Return to top
© 2015 Microsoft