This documentation is archived and is not being maintained.

ScriptManager.ResolveScriptReference Event

Occurs when a member of the Scripts collection is registered with the ScriptManager control.

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

public event EventHandler<ScriptReferenceEventArgs> ResolveScriptReference
<asp:ScriptManager OnResolveScriptReference="EventHandler" />

This event is raised one time for each member of the Scripts collection during the page's PreRender event. Use this event to perform any updates before the script is rendered to the page.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5
Show: