ScriptLink.RegisterOnDemand method (Control, Page, String, Boolean)

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

Syntax

'Declaration
Public Shared Sub RegisterOnDemand ( _
    ctrl As Control, _
    page As Page, _
    strFile As String, _
    localizable As Boolean _
)
'Usage
Dim ctrl As Control
Dim page As Page
Dim strFile As String
Dim localizable As BooleanScriptLink.RegisterOnDemand(ctrl, page, _
    strFile, localizable)
public static void RegisterOnDemand(
    Control ctrl,
    Page page,
    string strFile,
    bool localizable
)

Parameters

See also

Reference

ScriptLink class

ScriptLink members

RegisterOnDemand overload

Microsoft.SharePoint.WebControls namespace