Share via


ScriptLink.RegisterDelayedExecutionScript method

Renders an inline script which accesses a method found in a file which is loaded on demand.

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

Syntax

'Declaration
Public Shared Sub RegisterDelayedExecutionScript ( _
    page As Page, _
    strFileKey As String, _
    scriptBlockId As String, _
    strMethod As String, _
    ParamArray scriptSafeArgs As String() _
)
'Usage
Dim page As Page
Dim strFileKey As String
Dim scriptBlockId As String
Dim strMethod As String
Dim scriptSafeArgs As String()

ScriptLink.RegisterDelayedExecutionScript(page, _
    strFileKey, scriptBlockId, strMethod, _
    scriptSafeArgs)
public static void RegisterDelayedExecutionScript(
    Page page,
    string strFileKey,
    string scriptBlockId,
    string strMethod,
    params string[] scriptSafeArgs
)

Parameters

  • scriptSafeArgs
    Type: []

See also

Reference

ScriptLink class

ScriptLink members

Microsoft.SharePoint.WebControls namespace