Skip to main content

ASPxClientUploadControl.RemoveFileInput(index) Method

Removes a file input element from the ASPxUploadControl.

Declaration

RemoveFileInput(
    index: number
): void

Parameters

Name Type Description
index number

The index of the file input element.

Remarks

The RemoveFileInput method removes the control’s last file input element for the specified index.

End users can add or remove the file input element by using the add and remove buttons, whose visibility within the upload control is controlled by the ASPxUploadControl.ShowAddRemoveButtons property.

To add a new file input element use the ASPxClientUploadControl.AddFileInput method.

See Also