This documentation is for the old version. Go to the latest Upload Suite docs

BaseControl.DebugScriptMode Property

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.


public function getDebugScriptMode() {

public function setDebugScriptMode($value) {

Property Value

Type: string

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

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.

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