Skip to main content
Tab

ASPxUploadControl.FileContent Property

OBSOLETE

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.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Description
Stream

A Stream object that points to the specified file.

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

See Also