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

uploader.enableFileViewer Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a value indicating whether to open the file in associated viewer software when it is double-clicked.

Syntax

JavaScript Initialize
$au.uploader({
    //...other params...
    enableFileViewer: true,
    //...other params...
})
Get/Set Value at Runtime
$au.uploader('uploaderID').enableFileViewer(value);
value = $au.uploader('uploaderID').enableFileViewer();

Property Value

Type: Boolean

If true, the file is opened in the external file viewer by double-clicking. Otherwise, double-click causes nothing.

Default value is true.

Remarks

If subfolders are shown (folderProcessingMode is show or upload) double-clicking subfolders navigates to them regardless of the enableFileViewer value.

See Also

Reference