ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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)
  • Properties associated with an Upload control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The Upload control is used to upload one or more files.
The Upload control can be handled through programming. 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.
Properties associated with an Upload control
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.
NameBrowserFileAllows you to find out the initial name of the file to upload found on the computer of the Web user. This property is available for the multi-file Upload controls.
NameServerFileAllows you to find out the name of the uploaded file found on the server. This property is available for the multi-file Upload controls.
TypeFilesAllows you to find out and modify the filter on the files proposed in the file picker of the Upload control.
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: 01/23/2023

Send a report | Local help