ScriptLink.RegisterOnDemand Method
SharePoint 2010
Registers the script file to load on the Web page as an on-demand script.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Parameters
- page
- Type: System.Web.UI.Page
The Page onto which the script file is to be loaded.
- strFile
- Type: System.String
A string type representing the name of the script file to be registered.
- localizable
- Type: System.Boolean
true if the script file is in the localized directory; otherwise, false.