ScriptLink.BuildInteractiveOnDemandScript method

Builds a script which can be rendered inline and which accesses a method found in a file which is loaded on demand. Intended for use in an "onclick" scenario.

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

Syntax

'Declaration
Public Shared Function BuildInteractiveOnDemandScript ( _
    strFileKey As String, _
    strMethod As String, _
    ParamArray scriptSafeArgs As String() _
) As String
'Usage
Dim strFileKey As String
Dim strMethod As String
Dim scriptSafeArgs As String()
Dim returnValue As String

returnValue = ScriptLink.BuildInteractiveOnDemandScript(strFileKey, _
    strMethod, scriptSafeArgs)
public static string BuildInteractiveOnDemandScript(
    string strFileKey,
    string strMethod,
    params string[] scriptSafeArgs
)

Parameters

  • scriptSafeArgs
    Type: []

Return value

Type: System.String
Returns String.

See also

Reference

ScriptLink class

ScriptLink members

Microsoft.SharePoint.WebControls namespace