The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientUploadControl.FilesUploadComplete Event

Occurs on the client after upload of all selected files has been completed.

Declaration

FilesUploadComplete: ASPxClientEvent<ASPxClientUploadControlFilesUploadCompleteEventHandler<ASPxClientUploadControl>>

Event Data

The FilesUploadComplete event handler receives an argument of the ASPxClientUploadControlFilesUploadCompleteEventArgs type. The following properties provide information specific to this event.

Property Description
callbackData Gets a string that contains specific information (if any) passed from the server side for further client processing.
errorText Gets the error text to be displayed within the upload control's error frame.

Remarks

Write the FilesUploadComplete event handler to perform specific client actions after all selected files have been uploaded to a server.

The FilesUploadComplete event is generated after the ASPxClientUploadControl.FileUploadComplete events related to all uploaded files have been fired.

Example

A full example is available at the ASPxUploadControl - Upload and Submit online demo.

<dx:ASPxUploadControl runat="server" ID="DocumentsUploadControl" ClientInstanceName="DocumentsUploadControl" ...>
    <AdvancedModeSettings EnableMultiSelect="true" EnableDragAndDrop="true" ExternalDropZoneID="dropZone" />
    <ValidationSettings  
        AllowedFileExtensions=".rtf, .pdf, .doc, .docx, .odt, .txt, .xls, .xlsx, .ods, .ppt, .pptx, .odp, .jpe, .jpeg, .jpg, .gif, .png"
        MaxFileSize="4194304">
    </ValidationSettings>
    <ClientSideEvents
        FileUploadComplete="onFileUploadComplete"
        FilesUploadComplete="onFilesUploadComplete"
        FilesUploadStart="onFileUploadStart" />
        ...
</dx:ASPxUploadControl>

Online Demos

See Also