Skip to main content
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.v24.1.dll

NuGet Package: DevExpress.Web

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 client ASPxClientUploadControl.Upload 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