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
- page
Type: System.Web.UI.Page
- strFileKey
Type: System.String
- scriptBlockId
Type: System.String
- strMethod
Type: System.String
- scriptSafeArgs
Type: []