CommonDialogs Object



 
The CommonDialogs object provides standard dialogs.


Members Table

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

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

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

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

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

Back to top