SPPageContentManager.RegisterClientScriptBlock SPPageContentManager.RegisterClientScriptBlock Method

Definition

Overloads

RegisterClientScriptBlock(Control, Type, String, String) RegisterClientScriptBlock(Control, Type, String, String)
RegisterClientScriptBlock(Page, Type, String, String) RegisterClientScriptBlock(Page, Type, String, String)

RegisterClientScriptBlock(Control, Type, String, String) RegisterClientScriptBlock(Control, Type, String, String)

public:
 static void RegisterClientScriptBlock(System::Web::UI::Control ^ ctrl, Type ^ type, System::String ^ key, System::String ^ script);
public static void RegisterClientScriptBlock (System.Web.UI.Control ctrl, Type type, string key, string script);
Parameters
type
Type Type
script
String String

RegisterClientScriptBlock(Page, Type, String, String) RegisterClientScriptBlock(Page, Type, String, String)

public:
 static void RegisterClientScriptBlock(System::Web::UI::Page ^ page, Type ^ type, System::String ^ key, System::String ^ script);
public static void RegisterClientScriptBlock (System.Web.UI.Page page, Type type, string key, string script);
Parameters
page
Page Page
type
Type Type
script
String String

Applies to