ScriptLink.RegisterScriptAfterUI method (Page, String, Boolean, String, String)
Register a script file with a given UIVersion to load after the page UI
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, _
ctag As String _
)
'Usage
Dim page As Page
Dim name As String
Dim localizable As Boolean
Dim uiVersion As String
Dim ctag As StringScriptLink.RegisterScriptAfterUI(page, _
name, localizable, uiVersion, ctag)
public static void RegisterScriptAfterUI(
Page page,
string name,
bool localizable,
string uiVersion,
string ctag
)
Parameters
page
Type: System.Web.UI.PageThe page to load the script on
name
Type: System.StringThe name of the script
localizable
Type: System.Booleantrue if the script is localizable, false otherwise
uiVersion
Type: System.StringThe UIVerison that this script is compatible with. Can be a number, a semicolon-delimited list of numbers, or null
ctag
Type: System.StringThe ctag value