Skip to main content

ASPxUploadControl.FileContent Property


Use the UploadedFiles[].FilesContent property

Gets a stream object that points to the file uploaded by the ASPxUploadControl control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


[Obsolete("Use the UploadedFiles[].FilesContent property")]
public Stream FileContent { get; }

Property Value

Type Description

A Stream object that points to the specified file.


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 FileContent can be used to access the file’s contents.

See Also