This documentation is for the old version. Go to the latest Graphics Mill docs

BaseViewer.invokeRemoteMethod Method

Runs the specified remote method on the server. Read the Remote Scripting Approach topic for more details.

Namespace: GraphicsMill
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function invokeRemoteMethod(name, args);

Parameters

name

Type: Global.String

The name of the remote method which should be run on the server.
args

Type: Global.Any []

The array of arguments. The first element of the array is passed into the first argument, the second element - into the second one, etc. Number of array items should be the same as a number of arguments.

Return Value

The Boolean value which specifies whether the method was run successfully.

See Also

Reference