ScriptManager::RegisterNamedClientScriptResource Method (Control^, String^)

.NET Framework (current version)
 
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.

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