Export (0) Print
Expand All
Expand Minimize

ScriptManager.OnResolveScriptReference Method

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)

protected virtual void OnResolveScriptReference(
	ScriptReferenceEventArgs e
)

Parameters

e
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

Supported in: 4.6, 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft