Click or drag to resize

OpsContextRaiseBrowserDialog Method (String, String, Object, Type)

The purpose of this function is to raise a custom dialog when an HTML client is being used. This function is provided with a response Type that is used to deserialize the returned object into a standard .net object (for example, javascript->ArrayList) or a custom object when C# extensibility is used. See the extensibility documentation for a more detailed explanation.

Namespace:  Micros.Ops
Assembly:  Ops (in Ops.dll) Version: 18.2
Syntax
C#
public Object RaiseBrowserDialog(
	string html,
	string jsFunction,
	Object argument,
	Type responseType
)

Parameters

html
Type: SystemString
the html/javascript for the dialog, must be enclosed in a div
jsFunction
Type: SystemString
the function to call to initialize the dialog.
argument
Type: SystemObject
the argument for the context
responseType
Type: SystemType
the response is deserialized based on this type

Return Value

Type: Object
the object response
See Also