Tab

UploadedFile.FileBytes Property

Gets an array of the bytes in the uploaded file.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public byte[] FileBytes { get; }
Public ReadOnly Property FileBytes As Byte()

Property Value

Type Description
Byte[]

A Byte array that contains the file's contents.

Remarks

Uploading a file/files, 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 refresh). On the server side, while saving an uploaded file, the FileBytes property can be used to get the file's contents.

See Also