Skip to main content
A newer version of this page is available. .
Tab

FileManagerSettingsUpload.AutoStartUpload Property

Specifies whether file uploading starts automatically when a file is added to the upload panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(false)]
public bool AutoStartUpload { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to automatically start file uploading; otherwise false.

Property Paths

You can access this nested property as listed below:

Remarks

Note

The file manager automatically starts file uploading when a user drags and drops (FileManagerUploadAdvancedModeSettings.EnableDragAndDrop) files to a drop area ((file area and upload panel)) regardless of the AutoStartUpload property value.

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsUpload ShowUploadPanel="true" Enabled="true" AutoStartUpload="true" />
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsUpload.ShowUploadPanel = true;
fm.SettingsUpload.Enabled = true;
fm.SettingsUpload.AutoStartUpload = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsUpload.ShowUploadPanel = true;
    settings.SettingsUpload.Enabled = true;
    settings.SettingsUpload.AutoStartUpload = true;
    ...
}).BindToFolder(Model).GetHtml()
See Also