ScriptManager.RegisterNamedClientScriptResource ScriptManager.RegisterNamedClientScriptResource ScriptManager.RegisterNamedClientScriptResource Method

Definición

Registra scripts por nombre de recurso de cliente incrustados en ensamblados con el control ScriptManager para su uso con un control que participa en la representación parcial de página.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.

Sobrecargas

RegisterNamedClientScriptResource(Page, String) RegisterNamedClientScriptResource(Page, String) RegisterNamedClientScriptResource(Page, String)

Registra scripts por nombre de recurso de cliente incrustados en ensamblados con el control ScriptManager para su uso con un control que participa en la representación parcial de página.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.

RegisterNamedClientScriptResource(Control, String) RegisterNamedClientScriptResource(Control, String) RegisterNamedClientScriptResource(Control, String)

Registra scripts por nombre de recurso de cliente incrustados en ensamblados con el control ScriptManager para su uso con un control que participa en la representación parcial de página.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.

RegisterNamedClientScriptResource(Page, String) RegisterNamedClientScriptResource(Page, String) RegisterNamedClientScriptResource(Page, String)

Registra scripts por nombre de recurso de cliente incrustados en ensamblados con el control ScriptManager para su uso con un control que participa en la representación parcial de página.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.

public:
 static void RegisterNamedClientScriptResource(System::Web::UI::Page ^ page, System::String ^ resourceName);
public static void RegisterNamedClientScriptResource (System.Web.UI.Page page, string resourceName);
static member RegisterNamedClientScriptResource : System.Web.UI.Page * string -> unit

Parámetros

page
Page Page Page

Objeto de página que registra el script.The page object that is registering the script.

resourceName
String String String

Identificador del recurso.An identifier for the resource.

RegisterNamedClientScriptResource(Control, String) RegisterNamedClientScriptResource(Control, String) RegisterNamedClientScriptResource(Control, String)

Registra scripts por nombre de recurso de cliente incrustados en ensamblados con el control ScriptManager para su uso con un control que participa en la representación parcial de página.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.

public:
 static void RegisterNamedClientScriptResource(System::Web::UI::Control ^ control, System::String ^ resourceName);
public static void RegisterNamedClientScriptResource (System.Web.UI.Control control, string resourceName);
static member RegisterNamedClientScriptResource : System.Web.UI.Control * string -> unit

Parámetros

control
Control Control Control

Control que registra el script.The control that is registering the script.

resourceName
String String String

Identificador del recurso.An identifier for the resource.

Se aplica a