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 {
	void add(EventHandler<ScriptReferenceEventArgs^>^ value);
	void remove(EventHandler<ScriptReferenceEventArgs^>^ value);
}

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.

.NET Framework
Available since 3.5
Return to top
Show: