Export (0) Print
Expand All

ScriptLink.Register Method (Page, String, Boolean)

Windows SharePoint Services 3

Registers a script file for the specified page, script file and localizable value.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static void Register(
	Page page,
	string name,
	bool localizable
)

Parameters

page
Type: System.Web.UI.Page
The layout page.
name
Type: System.String
The name of the script file.
localizable
Type: System.Boolean
Indicates whether the page can be localized.

ScriptLink.Register(Page,"ExampleScript.js", false);

Community Additions

ADD
Show:
© 2014 Microsoft