MVCxClientUploadControl Members
A client-side counterpart of the UploadControl extension.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. 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. |
Events
Name | Description |
---|---|
DropZoneEnter | Fires when the mouse enters a drop zone or an external drop zone element while dragging a file. Inherited from ASPxClientUploadControl. |
DropZoneLeave | Fires when the mouse leaves a drop zone or an external drop zone element while dragging a file. Inherited from ASPxClientUploadControl. |
FileInputCountChanged | Occurs on the client side when the file input elements count is changed. Inherited from ASPxClientUploadControl. |
FilesUploadComplete | Occurs on the client after upload of all selected files has been completed. Inherited from ASPxClientUploadControl. |
FilesUploadStart | Occurs on the client side before file upload is started. Inherited from ASPxClientUploadControl. |
FileUploadComplete | Occurs on the client side after a file has been uploaded. Inherited from ASPxClientUploadControl. |
FileUploadStart | Obsolete. Occurs on the client side before upload of the specified files starts. Inherited from ASPxClientUploadControl. |
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. Inherited from ASPxClientUploadControl. |
UploadingProgressChanged | Occurs on the client side when the progress bar indicator position is changed. Inherited from ASPxClientUploadControl. |
ValidationErrorOccurred | Enables you to specify whether the selected file(s) are valid and provide an error text. Inherited from ASPxClientUploadControl. |
See Also