ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Upload control
  • Overview
  • Managing Drag and Drop of files to an Upload control (HTML5)
  • Upload control properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
The Upload control is used to upload one or more files.
Upload controls can be manipulated programmatically. To do so, use the name of the Upload control ("Send" or "Add" button).
The Uploadxxx functions of WLanguage can also be used to handle an Upload control. For more details, see the list of functions for upload management.
Managing Drag and Drop of files to an Upload control (HTML5)
The browsers that support HTML5 (like Firefox and Chrome) allow you to Drag and Drop the files to the Upload control.
The "UI" tab in the Upload control description window ("Send" or "Add" button) is used to manage this feature.
Description of the Upload control
For an Upload control used to upload several files proposed by default, the control on which Drag and Drop can be performed corresponds by default to the cell of Upload control.
Upload control properties
Several WLanguage properties are available for the Upload control. The main properties are as follows:
CountAllows you to find out the number of files found in an Upload control.
Multi-selectionUsed to find out and modify the mode for selecting files in an Upload control.
NameBrowserFileIdentifies the original name of the file to be uploaded on the user's computer. This property is only available for multi-file Upload controls.
NameServerFileAllows you to find out the name of the uploaded file found on the server. This property is only available for multi-file Upload controls.
TypeFilesEnables you to view and modify the file filter proposed in the Upload control file picker.
ValueAllows you to find out and modify the list of files found in the Upload control.

For a complete list of properties that can be used on the Upload control, see List of properties available for the Upload control.
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment

Last update: 10/29/2024

Send a report | Local help