ASPxClientUploadControl Methods
A client-side equivalent of the ASPxUploadControl control.| 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 | 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 in pixels. 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. |
See Also