ScriptManager::OnResolveScriptReference Method (ScriptReferenceEventArgs^)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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)

virtual void OnResolveScriptReference(
	ScriptReferenceEventArgs^ 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