ScriptLink.RegisterScriptAfterUI method (Page, String, Boolean, String)
Registers the specified script file for the specified Web page, user interface (UI) version, and localizable value, to load after the page UI is loaded.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub RegisterScriptAfterUI ( _
page As Page, _
name As String, _
localizable As Boolean, _
uiVersion As String _
)
'Usage
Dim page As Page
Dim name As String
Dim localizable As Boolean
Dim uiVersion As StringScriptLink.RegisterScriptAfterUI(page, _
name, localizable, uiVersion)
public static void RegisterScriptAfterUI(
Page page,
string name,
bool localizable,
string uiVersion
)
Parameters
page
Type: System.Web.UI.PageThe Web page.
name
Type: System.StringA string that contains the name of the script file.
localizable
Type: System.Booleantrue if the script can be localized; otherwise, false.
uiVersion
Type: System.StringA string that contains the UI version or versions with which the script is compatible, ether a numeric string or semicolon-delimited list of numeric strings, or a null reference (Nothing in Visual Basic) if no version is specified.