Skip to main content
A newer version of this page is available. .
Tab

ASPxUploadControl.FileBytes Property

OBSOLETE

Use the UploadedFiles[].FileBytes property

Gets an array of the bytes in a file that is uploaded by using the ASPxUploadControl.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[Obsolete("Use the UploadedFiles[].FileBytes property")]
public byte[] FileBytes { get; }

Property Value

Type Description
Byte[]

A Byte array that contains the file’s contents.

Remarks

Uploading the file, specified within the ASPxUploadControl, can be initiated either by a call to the ASPxClientUploadControl.Upload client method, or automatically on the next round trip to the server (for instance, on a button click or page refreshing). On the server side, while saving the uploaded file, the FileBytes can be used to get the file’s contents.

See Also