Skip to main content
A newer version of this page is available. .

DxUpload Members

An Upload component.

Constructors

Name Description
DxUpload() Initializes a new instance of the DxUpload class.

Properties

Name Description
AcceptedFileTypes Specifies one or multiple MIME types that the Upload component accepts.
AllowCancel Specifies whether users can cancel file upload.
AllowedFileExtensions Specifies file extensions that the Upload component accepts.
AllowMultiFileUpload Specifies whether users can upload (select in an Open File dialog or drag and drop) multiple files via the Upload component.
AllowPause Specifies whether users can pause file upload in chunk upload mode.
ChunkSize Specifies the chunk size in bytes.
CssClass Specifies the name of the component’s CSS class. Inherited from DxComponentBase.
ExternalDropZoneCssSelector Specifies the CSS selector of a container or HTML element where users can drop files to upload.
ExternalDropZoneDragOverCssClass Specifies the CSS class that is used for the drop zone when users drag files over it.
ExternalSelectButtonCssSelector Specifies the CSS selector of a button or HTML element that invokes the open file dialog.
Id For internal use only. Inherited from DxComponentBase.
MaxFileSize Specifies the maximum file size in bytes.
MinFileSize Specifies the minimum file size in bytes.
Name Specifies a unique identifier used to associate the Upload component with uploaded files on the server.
SelectButtonText Specifies the select button’s text.
ShowFileList Specifies whether to show the file list.
ShowSelectButton Specifies whether to show the select button that invokes the open file dialog.
UploadMode Specifies how the Upload component uploads files to the server.
UploadUrl Specifies a target URL for the upload request.
Visible Specifies whether the Upload is visible.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
FileReloaded Fires when a file is reloaded.
FileUploadAborted Fires when the file upload is aborted.
FileUploaded Fires when a file was uploaded.
FileUploadError Fires if an error occurs during file upload.
FileUploadPaused Fires when file upload is paused.
FileUploadProgressChanged Fires when the upload progress changes.
FileUploadStart Fires when file upload is about to start.
FileUploadStarted Fires when the file upload starts.
SelectedFilesChanged Fires when the file list changes.
See Also