RadUpload
RadUpload is a control for single and multi-file uploads with integrated
file validation and more.
The RadUpload appearance can be customized using the ControlObjectsVisibility
property of type ControlObjectsVisibility. The ControlObjectsVisibility enumeration
contains the following members:
- None - displays only the file input fields
- CheckBoxes - displays checkboxes in front of the file input fields.
Used in conjunction with the Delete (Selected) button and the DeleteSelectedButton
value of ControlObjectsVisibility
- RemoveButtons - displays Remove buttons on the right of the file
input fields
- ClearButtons - displays Clear buttons on the right of the file
input fields
- AddButton - displays an Add button below the file input fields
- DeleteSelectedButton - displays a Delete button below the file
input fields - used in conjunction with the CheckBoxes value
- Default - a combination of CheckBoxes, RemoveButtons, AddButton
and DeleteSelectedButton values
- All - a combination of all the members
The ControlObjectsVisibility property can receive any combination of these flags,
e.g.:
Radupload1.ControlObjectsVisibility = ControlObjectsVisibility.RemoveButtons
| ControlObjectsVisibility.ClearButtons
RadUpload exposes two properties to control the number of file
inputs:
- InitialFileInputsCount - the file inputs count which will be available
at startup. The default value is 1.
- MaxFileInputsCount - limit the maximum number of file inputs which
can be added to a RadUpload instance.