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
- ctrl
Type: System.Web.UI.Control
- page
Type: System.Web.UI.Page
- strFile
Type: System.String
- localizable
Type: System.Boolean