Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / RegisterExternalScriptBlock Method / RegisterExternalScriptBlock(Type,String,String,Boolean) Method
The type.
The key.
The script.
if set to true script is a client resource.


In This Topic
    RegisterExternalScriptBlock(Type,String,String,Boolean) Method
    In This Topic
    Registers the external script block that is loaded by Spread after each Ajax call.
    Syntax
    'Declaration
     
    Public Overloads Sub RegisterExternalScriptBlock( _
       ByVal type As Type, _
       ByVal key As String, _
       ByVal script As String, _
       ByVal isResource As Boolean _
    ) 
    'Usage
     
    Dim instance As FpSpread
    Dim type As Type
    Dim key As String
    Dim script As String
    Dim isResource As Boolean
     
    instance.RegisterExternalScriptBlock(type, key, script, isResource)
    public void RegisterExternalScriptBlock( 
       Type type,
       string key,
       string script,
       bool isResource
    )

    Parameters

    type
    The type.
    key
    The key.
    script
    The script.
    isResource
    if set to true script is a client resource.
    See Also