BaseControl.DebugScriptMode Property ActiveX/Java Uploader PHP

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a debug mode which will be used to display messages if the DebugScriptLevel is greater than 0.

Syntax

PHP
public function getDebugScriptMode() {
}

public function setDebugScriptMode($value) {
}

Property Value

Type: string

The string containing one or several debug modes. The following values are supported:

ValueDescription
popupAll the messages will be shown in a pop-up window.
consoleAll the messages will be logged in a browser console (e.g. Firebug) if it is available.
alertAll the messages will be shown in alerts.
Note

If several debug modes are specified, they are used as follows. When the control is about to display a message, it uses the first specified mode. If it is failed, the next mode is used until the message is displayed correctly.

Default value is "['popup', 'console', 'alert']".

See Also

Reference