Skip to main content

Upload Control Elements

  • 2 minutes to read

This topic describes the on-screen ASPxUploadControl elements and lists the main members that affect their appearance and functionality.

ASPxUploadControl-VisualElements-Overview

Add Button

The Add Button adds a new file input element.

ASPxUploadControl-AddButton

Characteristics Members
Visibility ASPxUploadControl.ShowAddRemoveButtons
Appearance ASPxUploadControl.AddButton, ASPxUploadControl.ButtonStyle
Alignment ASPxUploadControl.AddUploadButtonsHorizontalPosition
Spacing ASPxUploadControl.ButtonSpacing

Browse Button

The Browse Button allows users to select a file to upload.

ASPxUploadControl-BrowseButton

Characteristics Members
Appearance ASPxUploadControl.BrowseButton, ASPxUploadControl.BrowseButtonStyle
Width UploadControlBrowseButtonStyle.Width
Count ASPxUploadControl.FileInputCount
Spacings ASPxUploadControl.FileInputSpacing

Cancel Button

The Cancel Button cancels the upload.

ASPxUploadControl-VisualElements-CancelButton

Characteristics Members
Visibility ASPxUploadControl.ShowProgressPanel
Style and Settings ASPxUploadControl.CancelButton, ASPxUploadControl.ButtonStyle
Position ASPxUploadControl.CancelButtonHorizontalPosition
Spacing ASPxUploadControl.CancelButtonSpacing

Clear File Selection Button

The Clear File Selection Button clears the text box (removes the selected files).

UploadControl_ClearFileSelectionButton

Characteristics Members
Image ASPxUploadControl.ClearFileSelectionImage
Visibility ASPxUploadControl.ShowClearFileSelectionButton

Drop Zone

The Drop Zone is displayed over the upload control when a user drags a file over it.

ASPxUploadControl_DragAndDrop

Characteristics Members
Availability UploadAdvancedModeSettings.EnableDragAndDrop
Style UploadControlStyles.DropZone

File Input Element

The File Input Element allows users to select files to upload.

ASPxUploadControl-FileInputElement

Characteristics Members
Count ASPxUploadControl.FileInputCount
Spacings ASPxUploadControl.FileInputSpacing
Render Mode ASPxUploadControl.Native

File List

The File List contains a list of files for upload, allows users to remove a particular file from the list, and shows the upload progress.

FileManager_FileListBottom

Characteristics Members
Availability UploadAdvancedModeSettings.EnableFileList
Position UploadAdvancedModeSettings.FileListPosition
Style UploadAdvancedModeSettings.FileListItemStyle

Progress Bar

The Progress Bar shows the upload progress.

ASPxUploadControl-VisualElements-ProgressBar

Characteristics Members
Visibility ASPxUploadControl.ShowProgressPanel, UploadAdvancedModeSettings.EnableFileList
Style ASPxUploadControl.ProgressBarStyle

Progress Bar Indicator

The Progress Bar Indicator indicates the status of the upload process.

ASPxUploadControl-VisualElements-ProgressBarIndicator

Characteristics Members
Visibility ProgressBarSettings.ShowPosition
Style ASPxUploadControl.ProgressBarIndicatorStyle

Remove Button

The Remove Button removes a file input element or a file from the file list.

ASPxUploadControl-RemoveButton

Characteristics Members
Visibility ASPxUploadControl.ShowAddRemoveButtons, UploadAdvancedModeSettings.EnableFileList
Appearance ASPxUploadControl.RemoveButton, ASPxUploadControl.ButtonStyle
Spacing ASPxUploadControl.ButtonSpacing, ASPxUploadControl.RemoveButtonSpacing, ASPxUploadControl.FileInputSpacing
Count ASPxUploadControl.FileInputCount

Text Box

The Text Box shows information about the selected file or prompt/null text.

ASPxUploadControl-TextBox

Characteristics Members
Appearance ASPxUploadControl.TextBoxStyle
Count ASPxUploadControl.FileInputCount
Height UploadControlTextBoxStyleBase.Height
Null Text ASPxUploadControl.NullText, ASPxUploadControl.NullTextStyle
Spacings ASPxUploadControl.FileInputSpacing
Visibility ASPxUploadControl.ShowTextBox

Upload Button

The Upload Button starts the file upload.

ASPxUploadControl-UploadButton

Characteristics Members
Visibility ASPxUploadControl.ShowUploadButton
Appearance ASPxUploadControl.UploadButton, ASPxUploadControl.ButtonStyle
Alignment ASPxUploadControl.AddUploadButtonsHorizontalPosition
Spacing ASPxUploadControl.ButtonSpacing, ASPxUploadControl.AddUploadButtonsSpacing