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

ASPxClientUploadControl Members

A client-side equivalent of the ASPxUploadControl control.

Properties

Name Description
name Gets the unique, hierarchically-qualified identifier for the control. Inherited from ASPxClientControlBase.

Methods

Name Description
AddFileInput Adds a new file input element to the ASPxUploadControl.
AdjustControl Modifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls static Modifies the controls size within the specified container. Inherited from ASPxClientControl.
Cancel Cancels the initiated file uploading process.
Cast(obj) static Converts the specified object to the ASPxClientUploadControl type.
ClearText Clears the file selection in the upload control.
GetAddButtonText Returns the add button‘s text.
GetClientVisible Obsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetControlCollection static Returns a collection of client web control objects. Inherited from ASPxClientControl.
GetEnabled Returns a value indicating whether the upload control is enabled.
GetFileInputCount Gets the number of file input elements contained within the ASPxUploadControl.
GetHeight Returns the control’s height. Inherited from ASPxClientControl.
GetMainElement Returns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetParentControl Returns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetSelectedFiles(inputIndex) Returns files selected for uploading within the specified file input.
GetText(index) Gets the text displayed within the edit box of the specified file input element.
GetUploadButtonText Returns the text displayed within the upload button.
GetVisible Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetWidth Returns the control’s width. Inherited from ASPxClientControl.
InCallback Returns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase.
IsAdvancedModeEnabled Specifies whether the upload control’s Advanced mode is enabled.
RemoveFileFromSelection(fileIndex) Removes a file with the specified index from the selected file list.
RemoveFileInput(index) Removes a file input element from the ASPxUploadControl.
SendMessageToAssistiveTechnology(message) Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase.
SetAddButtonText(text) Sets the text to be displayed within the add button.
SetClientVisible(visible) Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetDialogTriggerID(ids) Sets the ID of a web control or HTML element (or a list of IDs), a click on which invokes file upload dialog.
SetEnabled(enabled) Specifies whether the upload control is enabled.
SetFileInputCount(count) Specifies the count of the file input elements within the upload control.
SetHeight(height)

Specifies the control’s height. Note that this method is not in effect for some controls.

Inherited from ASPxClientControl.
SetUploadButtonText(text) Sets the text to be displayed within the upload button.
SetVisible(visible) Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetWidth(width) Specifies the control’s width. Inherited from ASPxClientControl.
Upload Initiates uploading of the specified file(s) to the web server’s memory.
UploadFile Obsolete. Initiates uploading of the specified file to the web server’s memory.

Events

Name Description
DropZoneEnter Fires when the mouse enters a drop zone or an external drop zone element while dragging a file.
DropZoneLeave Fires when the mouse leaves a drop zone or an external drop zone element while dragging a file.
FileInputCountChanged Occurs on the client side when the file input elements count is changed.
FilesUploadComplete Occurs on the client after upload of all selected files has been completed.
FilesUploadStart Occurs on the client side before file upload is started.
FileUploadComplete Occurs on the client side after a file has been uploaded.
FileUploadStart Obsolete. Occurs on the client side before upload of the specified files starts.
Init Occurs on the client side after the control has been initialized. Inherited from ASPxClientControlBase.
TextChanged Fires on the client side when the text within the control’s edit box is changed while the control has focus.
UploadingProgressChanged Occurs on the client side when the progress bar indicator position is changed.
ValidationErrorOccurred Enables you to specify whether the selected file(s) are valid and provide an error text.
See Also