ASPxClientUploadControl.UploadFile Method

Obsolete. Initiates uploading of the specified file to the web server's memory.

Declaration

UploadFile(): void

Remarks

Use the UploadFile method to upload the specified file using an AJAX callback technology.

A call to the UploadFile method sends a specific callback to the server that initiates uploading of the selected file. At the same time, the ASPxClientUploadControl.FileUploadStart client event fires allowing specific client actions to be performed in response to the file uploading being initiated. When the specified file's upload is completed on the server during the callback processing, the ASPxUploadControl.FileUploadComplete server event is generated, enabling the uploaded file to be validated and saved to a specific location on the server. Finally, the ASPxClientUploadControl.FileUploadComplete client event occurs when the processed callback returns from the server side back to the client.

See Also