Export (0) Print
Expand All

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, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Community Additions

ADD
Show:
© 2014 Microsoft