Skip to main content
Tab

ASPxUploadControl.UploadMode Property

Gets or sets a value that specifies the ASPxUploadControl’s upload mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(UploadControlUploadMode.Standard)]
public UploadControlUploadMode UploadMode { get; set; }

Property Value

Type Default Description
UploadControlUploadMode Standard

One of the UploadControlUploadMode enumeration values.

Available values:

Name Description
Standard

ASPxUploadControl works in the Standard Upload Mode.

Advanced

ASPxUploadControl works in the Advanced Upload Mode.

Note: The Advanced Mode requires the end-user browser to support Html5, or Silverlight plug-in (version 3 or later) to be installed in the browser.

Auto

ASPxUploadControl uses Html5 technology (advanced mode). If it is unavailable, Silverlight technology (advanced mode) is used. If Silverlight is unavailable, the control works in the Standard Upload Mode.

Remarks

The ASPxUploadControl allows you to choose from three provided upload modes (Standard, Advanced, and Auto) using the UploadMode property.

  • In the Standard Mode, the uploaded file is sent to the server in one request and is cached in its entirety in server memory. In this mode, a file upload is initiated automatically on the next postback.
  • In the Advanced Mode, the uploaded file is sent to the server in small packets (one by one) and is saved in a temporary file in a specific server folder.

    Note

    The Advanced Mode requires the end-user browser to have HTML5, or the Silverlight plug-in (version 3 or later) installed in the browser. Refer to Advanced Upload Mode topic for more details.

  • In the Auto Mode, the ASPxUploadControl uses HTML5 technology (Advanced Upload Mode). If it is unavailable, the Silverlight technology (Advanced Upload Mode) is used. If Silverlight is unavailable, the upload control works in Standard Upload Mode.

To learn more about upload modes, see the Upload Modes topic.

See Also