ScriptManager::OnResolveScriptReference Method (ScriptReferenceEventArgs^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 3.5
Return to top
Show: