Skip to main content

MVCxClientUploadControl Methods

A client-side counterpart of the UploadControl extension.
Name Description
AddFileInput Adds a new file input element to the ASPxUploadControl. Inherited from ASPxClientUploadControl.
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. Inherited from ASPxClientUploadControl.
Cast(obj) static Converts the specified object to the MVCxClientUploadControl type.
ClearText Clears the file selection in the upload control. Inherited from ASPxClientUploadControl.
GetAddButtonText Returns the add button‘s text. Inherited from ASPxClientUploadControl.
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. Inherited from ASPxClientUploadControl.
GetFileInputCount Gets the number of file input elements contained within the ASPxUploadControl. Inherited from ASPxClientUploadControl.
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 Returns files selected for uploading within the specified file input. Inherited from ASPxClientUploadControl.
GetText(index) Gets the text displayed within the edit box of the specified file input element. Inherited from ASPxClientUploadControl.
GetUploadButtonText Returns the text displayed within the upload button. Inherited from ASPxClientUploadControl.
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. Inherited from ASPxClientUploadControl.
RemoveFileFromSelection(fileIndex) Removes a file with the specified index from the selected file list. Inherited from ASPxClientUploadControl.
RemoveFileInput(index) Removes a file input element from the ASPxUploadControl. Inherited from ASPxClientUploadControl.
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. Inherited from ASPxClientUploadControl.
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. Inherited from ASPxClientUploadControl.
SetEnabled(enabled) Specifies whether the upload control is enabled. Inherited from ASPxClientUploadControl.
SetFileInputCount(count) Specifies the count of the file input elements within the upload control. Inherited from ASPxClientUploadControl.
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. Inherited from ASPxClientUploadControl.
SetVisible(visible) Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetWidth(width) Specifies the control’s width in pixels. Inherited from ASPxClientControl.
Upload Initiates uploading of the specified file(s) to the web server’s memory. Inherited from ASPxClientUploadControl.
UploadFile Obsolete. Initiates uploading of the specified file to the web server’s memory. Inherited from ASPxClientUploadControl.
See Also