Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function opens an Open File dialog box.
Note
If the user chooses files that are outside the site folder, and if pages within the site include references to those files, the user will automatically be prompted to copy the files into the site when the page is saved.
Syntax
function xweb.application.chooseFile(
filterDescription : String,
filterExtensions : String
) : String
Parameters
filterDescription The title to display on the filter for the Open File dialog box.
filterExtensions The file filter to apply to the contents of the directory being interrogated. For example, *.htm would display only files with the .htm extension. You can apply multiple filters separated by a comma (,).
Returns
This function returns the path of the selected file, or null if unsuccessful or cancelled.
See Also
Concepts
application
application Members
xweb
Copyright © 2011 by Microsoft Corporation. All rights reserved.