Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft