CommonDialogs Object

The CommonDialogs object provides standard dialogs.

Members Table

    The following table lists the members provided by the CommonDialogs object.

    Methods Description
    BrowseForFolder Displays a 'browse for folder' dialog.
    OpenFileDialog Displays an 'open file' dialog.
    SaveFileDialog Displays a 'save file' dialog.

    This object is available through the UserInterface object. Use the CommonDialogs object to display file and folder dialogs.
    The following example displays an 'open file' dialog and shows the selected filename in an alert window.

    <SCRIPT TYPE="text/javascript">
    dialogObj = SiteCafe.UserInterface.CommonDialogs;
    alert(dialogObj.OpenFileDialog(0, "*.exe", "c:/dir"));

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top