Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ScriptManager.RegisterNamedClientScriptResource Method (Control, String)

.NET Framework 4.6 and 4.5

Registers client script by resource name that is embedded in an assembly with the ScriptManager control for use with a control that is participating in partial-page rendering.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public static void RegisterNamedClientScriptResource(
	Control control,
	string resourceName
)

Parameters

control
Type: System.Web.UI.Control

The control that is registering the script.

resourceName
Type: System.String

An identifier for the resource.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft